org.apache.flume.conf
Interface Configurable

All Known Subinterfaces:
AsyncHbaseEventSerializer, ChannelSelector, ElasticSearchEventSerializer, HbaseEventSerializer, HDFSWriter, HTTPSourceHandler, Interceptor.Builder, LoadBalancingSinkProcessor.SinkSelector, MonitorService, RegexExtractorInterceptorSerializer, SinkProcessor
All Known Implementing Classes:
AbstractAvroEventSerializer, AbstractChannel, AbstractChannelSelector, AbstractSinkProcessor, AbstractSinkSelector, AsyncHBaseSink, AvroLegacySource, AvroSink, AvroSource, BasicChannelSemantics, ChannelProcessor, DefaultSinkProcessor, ElasticSearchDynamicSerializer, ElasticSearchLogStashEventSerializer, ElasticSearchSink, ExecSource, FailoverSinkProcessor, FileChannel, FlumeEventAvroEventSerializer, GangliaServer, HBaseSink, HDFSCompressedDataStream, HDFSDataStream, HDFSEventSink, HDFSSequenceFile, HostInterceptor.Builder, HTTPMetricsServer, HTTPSource, IRCSink, JdbcChannel, JSONHandler, LoadBalancingSinkProcessor, MemoryChannel, MultiplexingChannelSelector, MultiportSyslogTCPSource, NetcatSource, NullSink, PseudoTxnMemoryChannel, RecoverableMemoryChannel, RegexExtractorInterceptor.Builder, RegexExtractorInterceptorMillisSerializer, RegexExtractorInterceptorPassThroughSerializer, RegexFilteringInterceptor.Builder, RegexHbaseEventSerializer, ReplicatingChannelSelector, RollingFileSink, ScribeSource, SequenceGeneratorSource, SimpleAsyncHbaseEventSerializer, SimpleHbaseEventSerializer, SinkGroup, SpoolDirectorySource, StaticInterceptor.Builder, StressSource, SyslogTcpSource, SyslogUDPSource, ThriftLegacySource, TimestampInterceptor.Builder

@InterfaceAudience.Public
@InterfaceStability.Stable
public interface Configurable

Any class marked as Configurable may have a context including its sub-configuration passed to it, requesting it configure itself.


Method Summary
 void configure(Context context)
           Request the implementing class to (re)configure itself.
 

Method Detail

configure

void configure(Context context)

Request the implementing class to (re)configure itself.

When configuration parameters are changed, they must be reflected by the component asap.

There are no thread safety guarrantees on when configure might be called.

Parameters:
context -


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.