fabric.worker
Class FabricSoftRef

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.SoftReference<Object._Impl>
          extended by fabric.worker.FabricSoftRef

public class FabricSoftRef
extends java.lang.ref.SoftReference<Object._Impl>


Field Summary
 long onum
           
 ReadMapEntry readMapEntry
           
 Store store
           
 
Constructor Summary
FabricSoftRef(Store store, long onum, Object._Impl impl)
           
 
Method Summary
static void destroy()
          This destroys the background thread responsible for cleaning up collected soft references.
 boolean evict()
          Evicts the Impl associated with this soft reference from the worker's cache.
 void readMapEntry(ReadMapEntry readMapEntry)
           
 
Methods inherited from class java.lang.ref.SoftReference
get
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

store

public Store store

onum

public long onum

readMapEntry

public ReadMapEntry readMapEntry
Constructor Detail

FabricSoftRef

public FabricSoftRef(Store store,
                     long onum,
                     Object._Impl impl)
Method Detail

destroy

public static void destroy()
This destroys the background thread responsible for cleaning up collected soft references.


evict

public boolean evict()
Evicts the Impl associated with this soft reference from the worker's cache.

Returns:
true if the impl was found in cache.

readMapEntry

public void readMapEntry(ReadMapEntry readMapEntry)