Package com.rabbitmq.client
Interface ShutdownListener
-
- All Superinterfaces:
java.util.EventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ShutdownListener extends java.util.EventListener
A ShutdownListener receives information about the shutdown of connections and channels. Note that when a connection is shut down, its associated channels are also considered shut down and their ShutdownListeners will be notified (with the same cause). Because of this, and the fact that channel ShutdownListeners execute in the connection's thread, attempting to make blocking calls on a connection inside the listener will lead to deadlock.- See Also:
ShutdownNotifier
,ShutdownSignalException
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
shutdownCompleted(ShutdownSignalException cause)
-
-
-
Method Detail
-
shutdownCompleted
void shutdownCompleted(ShutdownSignalException cause)
-
-