// ------------------------------------------------------------------- static void appendTimeUsed(long timeCount) { try { long timeUsed = Tool.toLong(MCache.getValue(CacheKeys.BACKEND_MS_USED)); MCache.saveValue(CacheKeys.BACKEND_MS_USED, timeUsed + timeCount); } catch (Throwable ex) { } }
// ------------------------------------------------------------------- static boolean resetTimeUsed() { return MCache.saveValue(CacheKeys.BACKEND_MS_USED, 0); }