Java Code Examples for org.apache.flume.lifecycle.LifecycleState#IDLE
The following examples show how to use
org.apache.flume.lifecycle.LifecycleState#IDLE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PollingZooKeeperConfigurationProvider.java From pulsar with Apache License 2.0 | 5 votes |
public PollingZooKeeperConfigurationProvider(String agentName, String zkConnString, String basePath, EventBus eventBus) { super(agentName, zkConnString, basePath); this.eventBus = eventBus; client = createClient(); agentNodeCache = null; flumeConfiguration = null; lifecycleState = LifecycleState.IDLE; }
Example 2
Source File: PollingPropertiesFileConfigurationProvider.java From pulsar with Apache License 2.0 | 5 votes |
public PollingPropertiesFileConfigurationProvider(String agentName, File file, EventBus eventBus, int interval) { super(agentName, file); this.eventBus = eventBus; this.file = file; this.interval = interval; counterGroup = new CounterGroup(); lifecycleState = LifecycleState.IDLE; }
Example 3
Source File: PollingPropertiesFileConfigurationProvider.java From mt-flume with Apache License 2.0 | 5 votes |
public PollingPropertiesFileConfigurationProvider(String agentName, File file, EventBus eventBus, int interval) { super(agentName, file); this.eventBus = eventBus; this.file = file; this.interval = interval; counterGroup = new CounterGroup(); lifecycleState = LifecycleState.IDLE; }
Example 4
Source File: AbstractChannel.java From mt-flume with Apache License 2.0 | 4 votes |
public AbstractChannel() { lifecycleState = LifecycleState.IDLE; }
Example 5
Source File: AbstractSink.java From mt-flume with Apache License 2.0 | 4 votes |
public AbstractSink() { lifecycleState = LifecycleState.IDLE; }
Example 6
Source File: BasicSourceSemantics.java From mt-flume with Apache License 2.0 | 4 votes |
public BasicSourceSemantics() { lifecycleState = LifecycleState.IDLE; }
Example 7
Source File: AbstractSource.java From mt-flume with Apache License 2.0 | 4 votes |
public AbstractSource() { lifecycleState = LifecycleState.IDLE; }
Example 8
Source File: PollableSourceRunner.java From mt-flume with Apache License 2.0 | 4 votes |
public PollableSourceRunner() { shouldStop = new AtomicBoolean(); counterGroup = new CounterGroup(); lifecycleState = LifecycleState.IDLE; }
Example 9
Source File: EventDrivenSourceRunner.java From mt-flume with Apache License 2.0 | 4 votes |
public EventDrivenSourceRunner() { lifecycleState = LifecycleState.IDLE; }
Example 10
Source File: SinkRunner.java From mt-flume with Apache License 2.0 | 4 votes |
public SinkRunner() { counterGroup = new CounterGroup(); lifecycleState = LifecycleState.IDLE; }