| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
   com.tangosol.util.Base
com.tangosol.util.Base
       com.tangosol.util.SimpleMapEntry
com.tangosol.util.SimpleMapEntry
           com.tangosol.util.AbstractKeyBasedMap.EntrySet.Entry
com.tangosol.util.AbstractKeyBasedMap.EntrySet.Entry
               com.tangosol.net.cache.SerializationCache.EntrySet.Entry
com.tangosol.net.cache.SerializationCache.EntrySet.Entry
public class SerializationCache.EntrySet.Entry
A Cache Entry implementation.
| Field Summary | 
|---|
| Fields inherited from class com.tangosol.util.SimpleMapEntry | 
|---|
| m_oKey, m_oOrigValue, m_oValue, NO_VALUE | 
| Constructor Summary | |
|---|---|
| SerializationCache.EntrySet.Entry(java.lang.Object oKey, java.lang.Object oValue)Construct an Entry. | |
| Method Summary | |
|---|---|
| protected  SerializationCache.EntryAttributes | getAttributes()Obtain the cache attributes for this entry. | 
|  long | getExpiryMillis()Determine when the cache entry will expire, if ever. | 
|  long | getLastTouchMillis()Determine when the cache entry was last touched. | 
|  int | getTouchCount()Determine the number of times that the cache entry has been touched (since the touch count was last reset). | 
|  int | getUnits()Determine the number of cache units used by this Entry. | 
|  void | setExpiryMillis(long lMillis)Specify when the cache entry will expire, or disable expiry. | 
|  void | setUnits(int cUnits)Specify the number of cache units used by this Entry. | 
|  void | touch()Indicate to the entry that it has been touched, such as when it is accessed or modified. | 
| Methods inherited from class com.tangosol.util.AbstractKeyBasedMap.EntrySet.Entry | 
|---|
| getValue, hashCode, setValue | 
| Methods inherited from class com.tangosol.util.SimpleMapEntry | 
|---|
| clone, equals, extract, getKey, getOriginalValue, isOriginalPresent, isPresent, remove, setValue, toString, update | 
| Methods inherited from interface java.util.Map.Entry | 
|---|
| equals, getKey, getValue, hashCode, setValue | 
| Constructor Detail | 
|---|
public SerializationCache.EntrySet.Entry(java.lang.Object oKey,
                                         java.lang.Object oValue)
oKey - the Entry keyoValue - the Entry value (optional)| Method Detail | 
|---|
public void touch()
touch in interface ConfigurableCacheMap.Entrypublic int getTouchCount()
getTouchCount in interface ConfigurableCacheMap.Entrypublic long getLastTouchMillis()
getLastTouchMillis in interface ConfigurableCacheMap.Entrypublic long getExpiryMillis()
getExpiryMillis in interface ConfigurableCacheMap.Entrypublic void setExpiryMillis(long lMillis)
setExpiryMillis in interface ConfigurableCacheMap.EntrylMillis - pass the date/time value, in millis, for when the entry will expire, or pass zero to disable automatic expirypublic int getUnits()
getUnits in interface ConfigurableCacheMap.Entrypublic void setUnits(int cUnits)
setUnits in interface ConfigurableCacheMap.EntrycUnits - an integer value 0 or greater, with a larger value signifying a higher costprotected SerializationCache.EntryAttributes getAttributes()
| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||