private abstract class LeaseExpirationMgr.MgrTask extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected WeakReference |
resourceRef
Resource this task is to operate on
|
private WakeupManager.Ticket |
ticket
Ticket for this task
|
Modifier | Constructor and Description |
---|---|
protected |
LeaseExpirationMgr.MgrTask(LeaseSet set)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected final WeakReference resourceRef
private WakeupManager.Ticket ticket
protected LeaseExpirationMgr.MgrTask(LeaseSet set)
set
- the set this task is to operate onprivate void setTicket(WakeupManager.Ticket ticket)
protected LeaseSet removeOurTicket()
LeaseSet
this task is to operate on or
null
if this task should stop.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.