public class TimestampInterceptor extends Object implements Interceptor
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TimestampInterceptor.BuilderBuilder which builds new instances of the TimestampInterceptor. | 
| static class  | TimestampInterceptor.Constants | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Perform any closing / shutdown needed by the Interceptor. | 
| void | initialize()Any initialization / startup needed by the Interceptor. | 
| Event | intercept(Event event)Modifies events in-place. | 
| List<Event> | intercept(List<Event> events)Delegates to  intercept(Event)in a loop. | 
public void initialize()
Interceptorinitialize in interface Interceptorpublic Event intercept(Event event)
intercept in interface Interceptorevent - Event to be interceptednull if the Event
 is to be dropped (i.e. filtered out).public List<Event> intercept(List<Event> events)
intercept(Event) in a loop.intercept in interface Interceptorevents - public void close()
Interceptorclose in interface InterceptorCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.