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)
StreamEventHandler
handleStreamEvent
in interface StreamEventHandler
event
- Stream event.StreamEvent.Type
public 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