com.ibm.wsspi.cache
Class CacheEntry

java.lang.Object
  extended by com.ibm.wsspi.cache.CacheEntry

public class CacheEntry
extends java.lang.Object

A CacheEntry is a struct object that holds the cache id and value, as well as metadata for caching. The information in these variables is obtained from the EntryInfo object used when the entry was cached.


Field Summary
 com.ibm.ws.cache.CacheEntry cacheEntry
           
 
Constructor Summary
CacheEntry(com.ibm.ws.cache.CacheEntry ce)
           
 
Method Summary
 int getCacheType()
           
 long getCacheValueSize()
           
 java.util.Enumeration getDataIds()
           
 byte[] getDisplayValue()
           
 long getExpirationTime()
           
 java.lang.String getId()
           
 int getPriority()
           
 int getSharingPolicy()
           
 java.util.Enumeration getTemplates()
           
 int getTimeLimit()
           
 long getTimeStamp()
           
 boolean isBatchEnabled()
           
 void refreshEntry()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cacheEntry

public com.ibm.ws.cache.CacheEntry cacheEntry
Constructor Detail

CacheEntry

public CacheEntry(com.ibm.ws.cache.CacheEntry ce)
Method Detail

getCacheType

public int getCacheType()

getTemplates

public java.util.Enumeration getTemplates()

getDataIds

public java.util.Enumeration getDataIds()

getTimeLimit

public int getTimeLimit()

getExpirationTime

public long getExpirationTime()

getTimeStamp

public long getTimeStamp()

getPriority

public int getPriority()

getSharingPolicy

public int getSharingPolicy()

isBatchEnabled

public boolean isBatchEnabled()

getId

public java.lang.String getId()

getDisplayValue

public byte[] getDisplayValue()

refreshEntry

public void refreshEntry()

getCacheValueSize

public long getCacheValueSize()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object