railo.runtime.cache.eh.remote.soap
Class SoapCacheEntry

java.lang.Object
  extended by railo.runtime.cache.eh.remote.soap.SoapCacheEntry
All Implemented Interfaces:
CacheEntry

public class SoapCacheEntry
extends Object
implements CacheEntry


Constructor Summary
SoapCacheEntry(Element element)
           
 
Method Summary
 Date created()
          when was the entry created.
 Struct getCustomInfo()
          get all information data available for this entry
 String getKey()
           
 Object getValue()
           
 int hitCount()
          how many time was the entry accessed? this information is optional and depends on the implementation, when information is not available -1 is returned
 long idleTimeSpan()
          time in milliseconds after which the object is flushed from the cache if it is not accessed during that time.
 Date lastHit()
          when was the entry accessed last time.
 Date lastModified()
          when was the entry last time modified.
 long liveTimeSpan()
          define time until the entry is valid
 void setElement(Element element)
           
 long size()
          the size of the object
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoapCacheEntry

public SoapCacheEntry(Element element)
Method Detail

created

public Date created()
Description copied from interface: CacheEntry
when was the entry created. this information is optional and depends on the implementation, when information is not available -1 is returned

Specified by:
created in interface CacheEntry
Returns:
time offset in milliseconds since 1/1/1970 GMT

lastHit

public Date lastHit()
Description copied from interface: CacheEntry
when was the entry accessed last time. this information is optional and depends on the implementation, when information is not available -1 is returned

Specified by:
lastHit in interface CacheEntry
Returns:
time in milliseconds since 1/1/1970 GMT

lastModified

public Date lastModified()
Description copied from interface: CacheEntry
when was the entry last time modified. this information is optional and depends on the implementation, when information is not available -1 is returned

Specified by:
lastModified in interface CacheEntry
Returns:
time offset in milliseconds since 1/1/1970 GMT

hitCount

public int hitCount()
Description copied from interface: CacheEntry
how many time was the entry accessed? this information is optional and depends on the implementation, when information is not available -1 is returned

Specified by:
hitCount in interface CacheEntry
Returns:
access count

idleTimeSpan

public long idleTimeSpan()
Description copied from interface: CacheEntry
time in milliseconds after which the object is flushed from the cache if it is not accessed during that time.

Specified by:
idleTimeSpan in interface CacheEntry
Returns:
time milliseconds since 1/1/1970 GMT or Long.MIN_VALUE if value is not defined

liveTimeSpan

public long liveTimeSpan()
Description copied from interface: CacheEntry
define time until the entry is valid

Specified by:
liveTimeSpan in interface CacheEntry
Returns:
time offset in milliseconds since 1/1/1970 GMT or Long.MIN_VALUE if value is not defined

size

public long size()
Description copied from interface: CacheEntry
the size of the object

Specified by:
size in interface CacheEntry
Returns:
size of the object

getKey

public String getKey()
Specified by:
getKey in interface CacheEntry
Returns:
the key associated with this entry

getValue

public Object getValue()
Specified by:
getValue in interface CacheEntry
Returns:
the value associated with this entry

setElement

public void setElement(Element element)

toString

public String toString()
Overrides:
toString in class Object

getCustomInfo

public Struct getCustomInfo()
Description copied from interface: CacheEntry
get all information data available for this entry

Specified by:
getCustomInfo in interface CacheEntry


Copyright © 2012 Railo