private static Object getListUpdaed(String cacheKey) { return(getUpdatedPrivate(TimestampKey.getList(cacheKey))); }
private static Object getObjectUpdated(IEntity obj) { return(getUpdatedPrivate(TimestampKey.getObject(obj))); }
//-------------------------------------------------------------------------------------------- public static void updateList(String cacheKey) { logger.Debug("updateList at=>" + DateTime.Now + "_" + cacheKey); updatePrivate(TimestampKey.getList(cacheKey), DateTime.Now); }
private static Object getTableUpdated(string typeFullName) { return(map[TimestampKey.getTable(typeFullName)]); }
//-------------------------------------------------------------------------------------------- public static void updateObject(IEntity obj) { updatePrivate(TimestampKey.getObject(obj), DateTime.Now); }
public static void updateTable(Type t) { logger.Debug("updateTable at=>" + DateTime.Now + "_" + t.FullName); map[TimestampKey.getTable(t.FullName)] = DateTime.Now; }
private static Object getCountUpdated(Type t, String condition) { return(map[TimestampKey.getCount(t, condition)]); }
private static Object getCountUpdated(Type t) { return(map[TimestampKey.getCount(t)]); }
public static void updateCount(Type t, String condition) { map[TimestampKey.getCount(t, condition)] = DateTime.Now; }
//-------------------------------------------------------------------------------------------- public static void updateCount(Type t) { map[TimestampKey.getCount(t)] = DateTime.Now; }