ehcache

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

java.lang.Object
  extended by net.sf.ehcache.store.disk.DiskStorageFactory.DiskSubstitute
Direct Known Subclasses:
DiskStorageFactory.DiskMarker
Enclosing class:
DiskStorageFactory

public abstract static class DiskStorageFactory.DiskSubstitute
extends Object

Abstract superclass for all disk substitutes.


Field Summary
protected  long onHeapSize
          Cached size of this mapping on the Java heap.
 
Constructor Summary
DiskStorageFactory.DiskSubstitute()
          Create a disk substitute bound to no factory.
 
Method Summary
 DiskStorageFactory getFactory()
          Returns the DiskStorageFactory instance that generated this DiskSubstitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

onHeapSize

protected transient volatile long onHeapSize
Cached size of this mapping on the Java heap.

Constructor Detail

DiskStorageFactory.DiskSubstitute

public DiskStorageFactory.DiskSubstitute()
Create a disk substitute bound to no factory. This constructor is used during de-serialization.

Method Detail

getFactory

public final DiskStorageFactory getFactory()
Returns the DiskStorageFactory instance that generated this DiskSubstitute

Returns:
an ElementProxyFactory

ehcache

Copyright 2001-2016, Terracotta, Inc.