ehcache

net.sf.ehcache.store.disk
Class DiskStorageFactory.DiskMarker

java.lang.Object
  extended by net.sf.ehcache.store.disk.DiskStorageFactory.DiskSubstitute
      extended by net.sf.ehcache.store.disk.DiskStorageFactory.DiskMarker
All Implemented Interfaces:
Serializable
Enclosing class:
DiskStorageFactory

public static class DiskStorageFactory.DiskMarker
extends DiskStorageFactory.DiskSubstitute
implements Serializable

DiskMarker instances point to the location of their associated serialized Element instance.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.ehcache.store.disk.DiskStorageFactory.DiskSubstitute
onHeapSize
 
Method Summary
 long getExpirationTime()
          Return the time at which this marker expires.
 int getSize()
          Returns the size of the currently occupying element.
 void installed()
          Mark the disk substitute as installed
 
Methods inherited from class net.sf.ehcache.store.disk.DiskStorageFactory.DiskSubstitute
getFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSize

public int getSize()
Returns the size of the currently occupying element.

Returns:
size of the stored element

installed

public void installed()
Mark the disk substitute as installed

A No-Op


getExpirationTime

public long getExpirationTime()
Return the time at which this marker expires.

Returns:
the time at which this marker expires.

ehcache

Copyright 2001-2015, Terracotta, Inc.