ConnectorScheduler.Builder

public static class ConnectorScheduler.Builder extends Object

Builder for ConnectorScheduler instances.

Field Summary

public Connector<T extends ConnectorContext> connector
public T extends ConnectorContext context
public ConnectorScheduler.ShutdownHolder shutdownHolder

Public Constructor Summary

Public Method Summary

ConnectorScheduler<ConnectorContext>
build()
Build an instance of ConnectorScheduler.
B extends AbstractBuilder<B, T>
setConnector(Connector<T> connector)
B extends AbstractBuilder<B, T>
setContext(T context)
B extends AbstractBuilder<B, T>

Inherited Method Summary

Fields

public Connector<T extends ConnectorContext> connector

public T extends ConnectorContext context

public ConnectorScheduler.ShutdownHolder shutdownHolder

Public Constructors

public ConnectorScheduler.Builder ()

Public Methods

public ConnectorScheduler<ConnectorContext> build ()

Build an instance of ConnectorScheduler.

public B extends AbstractBuilder<B, T> setConnector (Connector<T> connector)

Parameters
connector

public B extends AbstractBuilder<B, T> setContext (T context)

Parameters
context

public B extends AbstractBuilder<B, T> setShutdownHolder (ConnectorScheduler.ShutdownHolder shutdownHolder)

Parameters
shutdownHolder