Package gov.usgs.earthquake.distribution
Class NotificationListenerCallable
- java.lang.Object
-
- gov.usgs.earthquake.distribution.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 Summary
Constructors Constructor Description NotificationListenerCallable(NotificationListener listener, NotificationEvent event)
Create an ExecutorListenerNotifierCallable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
call()
-
-
-
Constructor Detail
-
NotificationListenerCallable
public NotificationListenerCallable(NotificationListener listener, NotificationEvent event)
Create an ExecutorListenerNotifierCallable.- Parameters:
listener
- the listener to notifyevent
- the notification to send
-
-