public class MorphlineInterceptor extends Object implements Interceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
MorphlineInterceptor.Builder
Builder implementations MUST have a public no-arg constructor
|
| Modifier | Constructor and Description |
|---|---|
protected |
MorphlineInterceptor(Context context) |
| 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)
Interception of a single
Event. |
List<Event> |
intercept(List<Event> events)
Interception of a batch of events.
|
protected MorphlineInterceptor(Context context)
public void initialize()
Interceptorinitialize in interface Interceptorpublic void close()
Interceptorclose in interface Interceptorpublic List<Event> intercept(List<Event> events)
Interceptorintercept in interface Interceptorevents - Input list of eventsnull. If all events are dropped,
then an empty List is returned.public Event intercept(Event event)
InterceptorEvent.intercept in interface Interceptorevent - Event to be interceptednull if the Event
is to be dropped (i.e. filtered out).Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.