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 |
---|
QueuerTask(long wakeup) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
boolean |
runAfter(List tasks,
int size)
No ordering
|
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-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.