Exemple #1
0
 private static Object getListUpdaed(String cacheKey)
 {
     return(getUpdatedPrivate(TimestampKey.getList(cacheKey)));
 }
Exemple #2
0
 private static Object getObjectUpdated(IEntity obj)
 {
     return(getUpdatedPrivate(TimestampKey.getObject(obj)));
 }
Exemple #3
0
        //--------------------------------------------------------------------------------------------

        public static void updateList(String cacheKey)
        {
            logger.Debug("updateList at=>" + DateTime.Now + "_" + cacheKey);
            updatePrivate(TimestampKey.getList(cacheKey), DateTime.Now);
        }
Exemple #4
0
 private static Object getTableUpdated(string typeFullName)
 {
     return(map[TimestampKey.getTable(typeFullName)]);
 }
Exemple #5
0
        //--------------------------------------------------------------------------------------------

        public static void updateObject(IEntity obj)
        {
            updatePrivate(TimestampKey.getObject(obj), DateTime.Now);
        }
Exemple #6
0
 public static void updateTable(Type t)
 {
     logger.Debug("updateTable at=>" + DateTime.Now + "_" + t.FullName);
     map[TimestampKey.getTable(t.FullName)] = DateTime.Now;
 }
Exemple #7
0
 private static Object getCountUpdated(Type t, String condition)
 {
     return(map[TimestampKey.getCount(t, condition)]);
 }
Exemple #8
0
 private static Object getCountUpdated(Type t)
 {
     return(map[TimestampKey.getCount(t)]);
 }
Exemple #9
0
 public static void updateCount(Type t, String condition)
 {
     map[TimestampKey.getCount(t, condition)] = DateTime.Now;
 }
Exemple #10
0
        //--------------------------------------------------------------------------------------------

        public static void updateCount(Type t)
        {
            map[TimestampKey.getCount(t)] = DateTime.Now;
        }