- java.lang.Object
-
- org.redkale.source.CacheMemorySource.CacheEntry
-
- 封闭类:
- CacheMemorySource
public static final class CacheMemorySource.CacheEntry extends Object
-
-
构造器概要
构造器 构造器 说明 CacheEntry(CacheMemorySource.CacheEntryType cacheType, String key)
-
方法概要
-
-
-
构造器详细资料
-
CacheEntry
public CacheEntry(CacheMemorySource.CacheEntryType cacheType, String key)
-
-
方法详细资料
-
milliSeconds
public CacheMemorySource.CacheEntry milliSeconds(long milliSeconds)
-
expireAt
public CacheMemorySource.CacheEntry expireAt(long endtime)
-
isExpired
public boolean isExpired(long now)
-
isExpired
@ConvertColumn(ignore=true) public boolean isExpired()
-
serialToObj
public static <T> T serialToObj(@Nonnull Convert convert, @Nonnull Type type, Serializable value)
-
objToSerial
public static Serializable objToSerial(@Nonnull Convert convert, Type type, Object value)
-
setMapValueIfAbsent
public Object setMapValueIfAbsent(String field, Convert convert, Type type, Object value)
-
lock
public void lock()
-
unlock
public void unlock()
-
getCacheType
public CacheMemorySource.CacheEntryType getCacheType()
-
getExpireMills
public long getExpireMills()
-
getLastAccessed
public long getLastAccessed()
-
getKey
public String getKey()
-
getObjectValue
public Object getObjectValue()
-
getSsetValue
public Set getSsetValue()
-
getZsetValue
public Set getZsetValue()
-
getListValue
public ConcurrentLinkedDeque getListValue()
-
getMapValue
public ConcurrentHashMap<String,Serializable> getMapValue()
-
-