Class NotificationListenerCallable

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Void>

    public class NotificationListenerCallable
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Void>
    A Callable object for deferred listener notification.
    • Constructor Detail

      • NotificationListenerCallable

        public NotificationListenerCallable​(NotificationListener listener,
                                            NotificationEvent event)
        Create an ExecutorListenerNotifierCallable.
        Parameters:
        listener - the listener to notify
        event - the notification to send
    • Method Detail

      • call

        public java.lang.Void call()
                            throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Void>
        Throws:
        java.lang.Exception