|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--uwcse.location.FusionService.SubscriptionThread
A thread class to manage and dispatch subscription issues.
| Field Summary | |
protected Subscription |
m_subscription
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
FusionService.SubscriptionThread(Subscription sub)
|
|
| Method Summary | |
Subscription |
cancel(Subscription sub)
Cancel the subscription immediately. |
Subscription |
expire(Subscription sub)
Expire the subscription. |
protected abstract Collection |
getSubscribedObjectNames()
This method is called with each subscription checkup to get the current collection of object names the subscription is for. |
Subscription |
renew(Subscription sub)
Reset the expiration date of the subscription from the time this method is called. |
void |
run()
Run the thread. |
void |
shutdown()
Signal the thread to stop executing when it reaches a graceful termination point. |
| 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 |
| Field Detail |
protected Subscription m_subscription
| Constructor Detail |
public FusionService.SubscriptionThread(Subscription sub)
| Method Detail |
public void shutdown()
public Subscription renew(Subscription sub)
public Subscription expire(Subscription sub)
cancel(Subscription)public Subscription cancel(Subscription sub)
expire(Subscription)protected abstract Collection getSubscribedObjectNames()
public void run()
run in interface Runnablerun in class Thread
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||