Class StreamEventJMXNotifier

  • All Implemented Interfaces:
    com.google.common.util.concurrent.FutureCallback<StreamState>, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, StreamEventHandler

    public class StreamEventJMXNotifier
    extends javax.management.NotificationBroadcasterSupport
    implements StreamEventHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleStreamEvent​(StreamEvent event)
      Callback for various streaming events.
      void onFailure​(java.lang.Throwable t)  
      void onSuccess​(StreamState result)  
      • Methods inherited from class javax.management.NotificationBroadcasterSupport

        addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamEventJMXNotifier

        public StreamEventJMXNotifier()
    • Method Detail

      • onSuccess

        public void onSuccess​(StreamState result)
        Specified by:
        onSuccess in interface com.google.common.util.concurrent.FutureCallback<StreamState>
      • onFailure

        public void onFailure​(java.lang.Throwable t)
        Specified by:
        onFailure in interface com.google.common.util.concurrent.FutureCallback<StreamState>