|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.edg.info.RegistrationThread
RegistrationThread used to update the termination interval for Producer and Consumer instances.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
RegistrationThread(InstanceBase instance,
InstanceTracker instanceTracker)
Creates a new RegistrationThread instance, used for soft-state registration. |
Method Summary | |
long |
getLastRegistryUpdateIntervalMillis()
|
long |
getLastRegistryUpdateTimeMillis()
|
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RegistrationThread(InstanceBase instance, InstanceTracker instanceTracker)
instance
- Instance to keep alive.instanceTracker
- Reference to InstanceTracker containing instance; must not be null
.Method Detail |
public void run()
public long getLastRegistryUpdateTimeMillis()
public long getLastRegistryUpdateIntervalMillis()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |