ConnectorScheduler

public class ConnectorScheduler extends Object
Known Direct Subclasses

Handles scheduling and execution of connector traversal related tasks.

Nested Class Summary

class ConnectorScheduler.AbstractBuilder<B extends AbstractBuilder<B, T extends ConnectorContext>, T>  
class ConnectorScheduler.AlreadyRunningRunnable  
class ConnectorScheduler.BackgroundRunnable Runnable that when invoked executes the delegate with getBackgroundExecutor() and then returns before completion. 
class ConnectorScheduler.Builder  
class ConnectorScheduler.ConnectorSchedule Wrapper object to maintain connector traversal schedule. 
class ConnectorScheduler.OneAtATimeRunnable  
interface ConnectorScheduler.ShutdownHolder  
class ConnectorScheduler.StutdownAfterCompleteRunnable  

Protected Constructor Summary

Public Method Summary

boolean
synchronized void
start()
synchronized void
stop()

Protected Method Summary

ExecutorService
ConnectorScheduler.ConnectorSchedule
ScheduledExecutorService

Inherited Method Summary

Protected Constructors

protected ConnectorScheduler (AbstractBuilder<? extends AbstractBuilder, T> builder)

Parameters
builder

Public Methods

public boolean isStarted ()

public synchronized void start ()

public synchronized void stop ()

Protected Methods

protected ExecutorService getBackgroundExecutor ()

protected ConnectorScheduler.ConnectorSchedule getConnectorSchedule ()

protected ScheduledExecutorService getScheduledExecutor ()

Send feedback about...

Cloud Search
Cloud Search