Class StreamEventJMXNotifier
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.apache.cassandra.streaming.management.StreamEventJMXNotifier
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<StreamState>,NotificationBroadcaster,NotificationEmitter,StreamEventHandler
public class StreamEventJMXNotifier
extends NotificationBroadcasterSupport
implements StreamEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleStreamEvent(StreamEvent event) Callback for various streaming events.voidvoidonSuccess(StreamState result) Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
Constructor Details
-
StreamEventJMXNotifier
public StreamEventJMXNotifier()
-
-
Method Details
-
handleStreamEvent
Description copied from interface:StreamEventHandlerCallback for various streaming events.- Specified by:
handleStreamEventin interfaceStreamEventHandler- Parameters:
event- Stream event.- See Also:
-
onSuccess
- Specified by:
onSuccessin interfacecom.google.common.util.concurrent.FutureCallback<StreamState>
-
onFailure
- Specified by:
onFailurein interfacecom.google.common.util.concurrent.FutureCallback<StreamState>
-