org.kaariboga.core
Class ClassManager.Remover

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.kaariboga.core.ClassManager.Remover
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ClassManager

class ClassManager.Remover
extends java.lang.Thread

Helper class for the ClassManager that removes a class after a given delay time.


Field Summary
private  long delay
          Delay time in milliseconds after which the class is removed if it's cout = 0;
private  java.lang.String name
          Name of the class to be removed.
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
ClassManager.Remover(java.lang.String name, long delay)
           
 
Method Summary
 void run()
          Waits for the specified delay time and then removes the class from the cache if it's count = 0;
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Name of the class to be removed.

delay

private long delay
Delay time in milliseconds after which the class is removed if it's cout = 0;
Constructor Detail

ClassManager.Remover

public ClassManager.Remover(java.lang.String name,
                            long delay)
Method Detail

run

public void run()
Waits for the specified delay time and then removes the class from the cache if it's count = 0;
Overrides:
run in class java.lang.Thread