public final class DispatchRunnable extends Object implements Runnable
DispatchRunnable
class is a simple Runnable
that can be
used to pass a Notification
to an NotificationDispatcher
via an
Executor
.Constructor and Description |
---|
DispatchRunnable(NotificationDispatcher dispatcher,
Notification notification)
Constructor.
|
public DispatchRunnable(NotificationDispatcher dispatcher, Notification notification)
dispatcher
- the dispatcher to dispatch to (not null
).notification
- the notification to dispatch (not null
).Copyright © 2022 Apache Software Foundation. All rights reserved.