org.apache.flume.interceptor
Class StaticInterceptor.Builder

java.lang.Object
  extended by org.apache.flume.interceptor.StaticInterceptor.Builder
All Implemented Interfaces:
Configurable, Interceptor.Builder
Enclosing class:
StaticInterceptor

public static class StaticInterceptor.Builder
extends Object
implements Interceptor.Builder

Builder which builds new instance of the StaticInterceptor.


Constructor Summary
StaticInterceptor.Builder()
           
 
Method Summary
 Interceptor build()
           
 void configure(Context context)
           Request the implementing class to (re)configure itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticInterceptor.Builder

public StaticInterceptor.Builder()
Method Detail

configure

public void configure(Context context)
Description copied from interface: Configurable

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.

Specified by:
configure in interface Configurable

build

public Interceptor build()
Specified by:
build in interface Interceptor.Builder


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