public abstract class PeriodicPolicy extends Policy
Policy.PolicyContext
Modifier and Type | Field and Description |
---|---|
private long |
periodMs |
Constructor and Description |
---|
PeriodicPolicy(long periodMs) |
Modifier and Type | Method and Description |
---|---|
void |
init(Policy.PolicyContext context) |
void |
run() |
protected abstract void |
runOneIteration() |
isStopped, stop
private long periodMs
public PeriodicPolicy(long periodMs)
public void run()
protected abstract void runOneIteration()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.