public class StreamEventJMXNotifier extends javax.management.NotificationBroadcasterSupport implements StreamEventHandler
| Constructor and Description |
|---|
StreamEventJMXNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleStreamEvent(StreamEvent event)
Callback for various streaming events.
|
void |
onFailure(java.lang.Throwable t) |
void |
onSuccess(StreamState result) |
public void handleStreamEvent(StreamEvent event)
StreamEventHandlerhandleStreamEvent in interface StreamEventHandlerevent - Stream event.StreamEvent.Typepublic void onSuccess(StreamState result)
onSuccess in interface com.google.common.util.concurrent.FutureCallback<StreamState>public void onFailure(java.lang.Throwable t)
onFailure in interface com.google.common.util.concurrent.FutureCallback<StreamState>Copyright © 2016 The Apache Software Foundation