Package com.rabbitmq.client
Interface ShutdownListener
-
- All Superinterfaces:
EventListener
public interface ShutdownListener extends 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)
-
-