org.apache.flume.conf
Interface Configurable

All Known Subinterfaces:
AsyncHbaseEventSerializer, ChannelSelector, ElasticSearchEventSerializer, ElasticSearchIndexRequestBuilderFactory, HbaseEventSerializer, HDFSWriter, HTTPSourceHandler, Interceptor.Builder, LoadBalancingSinkProcessor.SinkSelector, MonitorService, MorphlineHandler, RegexExtractorInterceptorSerializer, SinkProcessor
All Known Implementing Classes:
AbstractAvroEventSerializer, AbstractChannel, AbstractChannelSelector, AbstractElasticSearchIndexRequestBuilderFactory, AbstractEventDrivenSource, AbstractHDFSWriter, AbstractPollableSource, AbstractRpcSink, AbstractSinkProcessor, AbstractSinkSelector, AsyncHBaseSink, AvroEventSerializer, AvroLegacySource, AvroSink, AvroSource, BasicChannelSemantics, BasicSourceSemantics, BlobHandler, ChannelProcessor, DefaultSinkProcessor, ElasticSearchDynamicSerializer, ElasticSearchLogStashEventSerializer, ElasticSearchSink, EmbeddedSource, EventSerializerIndexRequestBuilderFactory, ExecSource, FailoverSinkProcessor, FileChannel, FlumeEventAvroEventSerializer, GangliaServer, HBaseSink, HDFSCompressedDataStream, HDFSDataStream, HDFSEventSink, HDFSSequenceFile, HostInterceptor.Builder, HTTPMetricsServer, HTTPSource, IRCSink, JdbcChannel, JMSSource, JSONHandler, LoadBalancingSinkProcessor, MemoryChannel, MorphlineHandlerImpl, MorphlineInterceptor.Builder, MorphlineSink, MorphlineSolrSink, MultiplexingChannelSelector, MultiportSyslogTCPSource, NetcatSource, NullSink, PseudoTxnMemoryChannel, RegexExtractorInterceptor.Builder, RegexExtractorInterceptorMillisSerializer, RegexExtractorInterceptorPassThroughSerializer, RegexFilteringInterceptor.Builder, RegexHbaseEventSerializer, ReplicatingChannelSelector, RollingFileSink, ScribeSource, SequenceGeneratorSource, SimpleAsyncHbaseEventSerializer, SimpleHbaseEventSerializer, SinkGroup, SpoolDirectorySource, StaticInterceptor.Builder, StressSource, SyslogTcpSource, SyslogUDPSource, ThriftLegacySource, ThriftSink, ThriftSource, TimestampInterceptor.Builder, UUIDInterceptor.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-2013 Apache Software Foundation. All Rights Reserved.