Class LocalListenerRegistry<T>

java.lang.Object
org.wildfly.clustering.server.local.listener.LocalListenerRegistry<T>
Type Parameters:
T - the listener type
All Implemented Interfaces:
AutoCloseable, Consumer<Consumer<T>>, ListenerRegistry<T>, Registrar<T>

public class LocalListenerRegistry<T> extends Object implements ListenerRegistry<T>
Author:
Paul Ferraro
  • Constructor Details

    • LocalListenerRegistry

      public LocalListenerRegistry(Duration shutdownTimeout)
      Creates a local listener registrar with the specified shutdown timeout.
      Parameters:
      shutdownTimeout - the duration of time to wait for termination of listener tasks on close.
  • Method Details