org.terracotta.modules.ehcache.store
Class ClusteredElementEvictionData

java.lang.Object
  extended by org.terracotta.modules.ehcache.store.ClusteredElementEvictionData
All Implemented Interfaces:
Cloneable, net.sf.ehcache.ElementEvictionData

public class ClusteredElementEvictionData
extends Object
implements net.sf.ehcache.ElementEvictionData


Constructor Summary
ClusteredElementEvictionData(net.sf.ehcache.store.Store store, TimestampedValue timestampedValue)
          Default constructor initializing the field to their empty values
 
Method Summary
 boolean canParticipateInSerialization()
          
 net.sf.ehcache.ElementEvictionData clone()
          
 long getCreationTime()
          
 long getLastAccessTime()
          
 void resetLastAccessTime(net.sf.ehcache.Element element)
          
 void setCreationTime(long creationTime)
          

Doesn't do anything in this implementation.

 void updateLastAccessTime(long time, net.sf.ehcache.Element element)
          
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredElementEvictionData

public ClusteredElementEvictionData(net.sf.ehcache.store.Store store,
                                    TimestampedValue timestampedValue)
Default constructor initializing the field to their empty values

Method Detail

setCreationTime

public void setCreationTime(long creationTime)

Doesn't do anything in this implementation.

Specified by:
setCreationTime in interface net.sf.ehcache.ElementEvictionData

getCreationTime

public long getCreationTime()

Specified by:
getCreationTime in interface net.sf.ehcache.ElementEvictionData

getLastAccessTime

public long getLastAccessTime()

Specified by:
getLastAccessTime in interface net.sf.ehcache.ElementEvictionData

updateLastAccessTime

public void updateLastAccessTime(long time,
                                 net.sf.ehcache.Element element)

Specified by:
updateLastAccessTime in interface net.sf.ehcache.ElementEvictionData

resetLastAccessTime

public void resetLastAccessTime(net.sf.ehcache.Element element)

Specified by:
resetLastAccessTime in interface net.sf.ehcache.ElementEvictionData

clone

public final net.sf.ehcache.ElementEvictionData clone()
                                               throws CloneNotSupportedException

Specified by:
clone in interface net.sf.ehcache.ElementEvictionData
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

canParticipateInSerialization

public boolean canParticipateInSerialization()

Specified by:
canParticipateInSerialization in interface net.sf.ehcache.ElementEvictionData


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.