org.javaWebGen.util
Class CacheListener

java.lang.Object
  extended by java.lang.Thread
      extended by org.javaWebGen.util.CacheListener
All Implemented Interfaces:
java.lang.Runnable

public final class CacheListener
extends java.lang.Thread

WARNING Experimintal code though it will work in theory Listens for CACHE Objects that have been updated in the cluster using a multcast socket calls CacheManager to remove the object

See Also:
CacheManager.remove(Object,String)

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected CacheListener(java.net.MulticastSocket sock, java.net.InetAddress address, CacheManager man)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

CacheListener

protected CacheListener(java.net.MulticastSocket sock,
                        java.net.InetAddress address,
                        CacheManager man)
Parameters:
sock - reference to the Multicast Socket to listen on
address - multicast address to listen on
man - CacheManager instance
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.