public class Scheduler extends Object implements Runnable, AutoCloseable
| Constructor and Description |
|---|
Scheduler(TaskStateStorage storage,
ZookeeperConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the main loop, causing run() to exit.
|
void |
run() |
public Scheduler(TaskStateStorage storage, ZookeeperConnection connection)
public void close()
close in interface AutoCloseableCopyright © 2017 Grakn Labs Ltd. All rights reserved.