org.shiftone.cache.decorator.stat
Class ShutdownHook

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.shiftone.cache.decorator.stat.ShutdownHook
All Implemented Interfaces:
java.lang.Runnable

public class ShutdownHook
extends java.lang.Thread

Version:
$Revision: 1.5 $
Author:
$Author: jeffdrost $

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ShutdownHook()
           
 
Method Summary
 void addStatCache(StatCache statCache)
           
 int getCacheCount()
           
 StatCache getStatCache(int index)
           
 void run()
           
 void setMaxCaches(int maxCaches)
           
 void setTitle(java.lang.String title)
           
 
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

ShutdownHook

public ShutdownHook()
Method Detail

run

public void run()

setTitle

public void setTitle(java.lang.String title)

setMaxCaches

public void setMaxCaches(int maxCaches)

addStatCache

public void addStatCache(StatCache statCache)

getCacheCount

public int getCacheCount()

getStatCache

public StatCache getStatCache(int index)