public class
ConnectorScheduler
extends Object
Known Direct Subclasses |
Handles scheduling and execution of connector traversal related tasks.
Nested Class Summary
class | ConnectorScheduler.Builder | Builder for ConnectorScheduler instances. |
|
class | ConnectorScheduler.OneAtATimeRunnable | Runnable implementation which allows only one thread to run given runnable at a time. |
|
interface | ConnectorScheduler.ShutdownHolder | Pointer to shutdown method to be executed when traversal is complete. |
Public Method Summary
boolean |
isStarted()
Check if
ConnectorScheduler is started. |
synchronized void |
start()
Starts traversal process and worker threads.
|
synchronized void |
stop()
Stops traversal process and worker threads.
|
Inherited Method Summary
Public Methods
public boolean isStarted ()
Check if ConnectorScheduler
is started.
Returns
- true if ConnectorScheduler started, false otherwise.
public synchronized void start ()
Starts traversal process and worker threads.
public synchronized void stop ()
Stops traversal process and worker threads.