private class LeaseRenewalManager.QueuerTask extends Object implements TaskManager.Task
Modifier and Type | Field and Description |
---|---|
(package private) long |
wakeup
When to next wake up and queue a new renew task
|
Constructor and Description |
---|
LeaseRenewalManager.QueuerTask(long wakeup) |
public boolean runAfter(List tasks, int size)
runAfter
in interface TaskManager.Task
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be consideredCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.