org.apache.flume.node
Class PollingZooKeeperConfigurationProvider
java.lang.Object
   org.apache.flume.node.AbstractConfigurationProvider
org.apache.flume.node.AbstractConfigurationProvider
       org.apache.flume.node.AbstractZooKeeperConfigurationProvider
org.apache.flume.node.AbstractZooKeeperConfigurationProvider
           org.apache.flume.node.PollingZooKeeperConfigurationProvider
org.apache.flume.node.PollingZooKeeperConfigurationProvider
- All Implemented Interfaces: 
- LifecycleAware, ConfigurationProvider
- public class PollingZooKeeperConfigurationProvider 
- extends AbstractZooKeeperConfigurationProvider- implements LifecycleAware
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PollingZooKeeperConfigurationProvider
public PollingZooKeeperConfigurationProvider(String agentName,
                                             String zkConnString,
                                             String basePath,
                                             com.google.common.eventbus.EventBus eventBus)
getFlumeConfiguration
protected FlumeConfiguration getFlumeConfiguration()
- 
- Specified by:
- getFlumeConfigurationin class- AbstractConfigurationProvider
 
- 
 
start
public void start()
- Description copied from interface: LifecycleAware
- 
 Starts a service or component.
  - 
 Implementations should determine the result of any start logic and effect
 the return value of - LifecycleAware.getLifecycleState()accordingly.
 - 
 
- 
- Specified by:
- startin interface- LifecycleAware
 
- 
 
stop
public void stop()
- Description copied from interface: LifecycleAware
- 
 Stops a service or component.
  - 
 Implementations should determine the result of any stop logic and effect
 the return value of - LifecycleAware.getLifecycleState()accordingly.
 - 
 
- 
- Specified by:
- stopin interface- LifecycleAware
 
- 
 
getLifecycleState
public LifecycleState getLifecycleState()
- Description copied from interface: LifecycleAware
- 
 Return the current state of the service or component.
  - 
 
- 
- Specified by:
- getLifecycleStatein interface- LifecycleAware
 
- 
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.