ozone core API

org.ozoneDB.core.storage
Class AbstractReferenceCache.ReferenceHandler

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.ozoneDB.core.storage.AbstractReferenceCache.ReferenceHandler
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
AbstractReferenceCache

private class AbstractReferenceCache.ReferenceHandler
extends java.lang.Thread

Handles the garbage collector 'messages' that certain softly reachable objects have been gc-ed. The ObjectReference instances that pointed to them are removed from the backing map in order to prevent the backing map to overflow with soft reference instances that now point to null.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) AbstractReferenceCache.ReferenceHandler()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReferenceCache.ReferenceHandler

AbstractReferenceCache.ReferenceHandler()
Method Detail

run

public void run()

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.