|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Public @InterfaceStability.Stable public interface Interceptor
| Nested Class Summary | |
|---|---|
static interface |
Interceptor.Builder
Builder implementations MUST have a no-arg constructor |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void initialize()
Event intercept(Event event)
Event.
event - Event to be intercepted
null if the Event
is to be dropped (i.e. filtered out).List<Event> intercept(List<Event> events)
events - Input list of events
null. If all events are dropped,
then an empty List is returned.void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||