private class LeaseExpirationMgr.Canceler extends Object implements Runnable
WakeupManager| Modifier and Type | Field and Description |
|---|---|
private WeakReference |
resourceRef |
| Constructor and Description |
|---|
Canceler(LeasedResource resource)
Create a
Canceler for the passed resource |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Check the associated resource's expiration against the
current time, canceling the resource if its time has
passed.
|
private final WeakReference resourceRef
Canceler(LeasedResource resource)
Canceler for the passed resourceCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.