|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.LeaseExpirationMgr.MgrTask
private abstract class LeaseExpirationMgr.MgrTask
Utility base class for our tasks, mainly provides the the proper locking for manipulating the ticketMap.
Field Summary | |
---|---|
protected WeakReference |
resourceRef
Resource this task is to operate on |
private WakeupManager.Ticket |
ticket
Ticket for this task |
Constructor Summary | |
---|---|
protected |
LeaseExpirationMgr.MgrTask(LeaseSet set)
Simple constructor. |
Method Summary | |
---|---|
protected LeaseSet |
removeOurTicket()
Removes this task's ticket from the ticket map iff this task's ticket is in the map. |
abstract void |
run()
|
private void |
setTicket(WakeupManager.Ticket ticket)
Set the ticket associated with this task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WeakReference resourceRef
private WakeupManager.Ticket ticket
Constructor Detail |
---|
protected LeaseExpirationMgr.MgrTask(LeaseSet set)
set
- the set this task is to operate onMethod Detail |
---|
private void setTicket(WakeupManager.Ticket ticket)
protected LeaseSet removeOurTicket()
LeaseSet
this task is to operate on or
null
if this task should stop.
public abstract void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |