Class BaseCacheEntry
java.lang.Object
com.j_spaces.core.client.cache.map.BaseCacheEntry
- All Implemented Interfaces:
CacheEntry,Map.Entry<Object,Object>
Holds the entry and all the Statics.
- Since:
- 4.5
- Version:
- 1.0
- Author:
- Guy Korland
-
Constructor Summary
ConstructorsConstructorDescriptionBaseCacheEntry(Object key, Object value, long timeToLive, int version) Constructor. -
Method Summary
-
Constructor Details
-
BaseCacheEntry
Constructor.
-
-
Method Details
-
getCacheEntryVersion
public long getCacheEntryVersion()Returns a version counter. An implementation may use timestamps for this or an incrementing number. Timestamps usually have issues with granularity and are harder to use across clusters or threads, so an incrementing counter is often safer.- Specified by:
getCacheEntryVersionin interfaceCacheEntry
-
getValue
-
getKey
-
setValue
-
hashCode
public int hashCode() -
equals
-