org.apache.flume.interceptor
Class TimestampInterceptor.Builder

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

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

Builder which builds new instances of the TimestampInterceptor.


Constructor Summary
TimestampInterceptor.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

TimestampInterceptor.Builder

public TimestampInterceptor.Builder()
Method Detail

build

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

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


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