org.codehaus.wadi.gridstate.impl
Class GCacheEntry
java.lang.Object
org.codehaus.wadi.gridstate.impl.GCacheEntry
- All Implemented Interfaces:
- javax.cache.CacheEntry, Map.Entry
- public class GCacheEntry
- extends Object
- implements javax.cache.CacheEntry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_lock
protected ReadWriteLock _lock
_value
protected Object _value
GCacheEntry
public GCacheEntry(Object value)
acquireReadLock
public void acquireReadLock()
releaseReadLock
public void releaseReadLock()
getWriteLock
public Sync getWriteLock()
getHits
public int getHits()
- Specified by:
getHits
in interface javax.cache.CacheEntry
getLastAccessTime
public long getLastAccessTime()
- Specified by:
getLastAccessTime
in interface javax.cache.CacheEntry
getLastUpdateTime
public long getLastUpdateTime()
- Specified by:
getLastUpdateTime
in interface javax.cache.CacheEntry
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime
in interface javax.cache.CacheEntry
getExpirationTime
public long getExpirationTime()
- Specified by:
getExpirationTime
in interface javax.cache.CacheEntry
getVersion
public long getVersion()
- Specified by:
getVersion
in interface javax.cache.CacheEntry
isValid
public boolean isValid()
- Specified by:
isValid
in interface javax.cache.CacheEntry
getCost
public long getCost()
- Specified by:
getCost
in interface javax.cache.CacheEntry
getKey
public Object getKey()
- Specified by:
getKey
in interface Map.Entry
getValue
public Object getValue()
- Specified by:
getValue
in interface Map.Entry
setValue
public Object setValue(Object value)
- Specified by:
setValue
in interface Map.Entry
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.