net.jini.lease
Class LeaseRenewalManager.QueuerTask
java.lang.Object
net.jini.lease.LeaseRenewalManager.QueuerTask
- All Implemented Interfaces:
- TaskManager.Task, Runnable
- Enclosing class:
- LeaseRenewalManager
private class LeaseRenewalManager.QueuerTask
- extends Object
- implements TaskManager.Task
Field Summary |
(package private) long |
wakeup
When to next wake up and queue a new renew task |
Method Summary |
void |
run()
|
boolean |
runAfter(List tasks,
int size)
No ordering |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wakeup
long wakeup
- When to next wake up and queue a new renew task
LeaseRenewalManager.QueuerTask
LeaseRenewalManager.QueuerTask(long wakeup)
runAfter
public boolean runAfter(List tasks,
int size)
- No ordering
- Specified by:
runAfter
in interface TaskManager.Task
- Parameters:
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be considered
run
public void run()
- Specified by:
run
in interface Runnable
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.