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
 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


ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.