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

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

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

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