Uses of Class
com.rabbitmq.client.ShutdownSignalException
-
Packages that use ShutdownSignalException Package Description com.rabbitmq.client The client API proper: classes and interfaces representing the AMQP connections, channels, and wire-protocol framing descriptors.com.rabbitmq.client.impl Implementations of interfaces specified in the client API, and their supporting classes.com.rabbitmq.client.impl.recovery Implementation of connection and topology recovery. -
-
Uses of ShutdownSignalException in com.rabbitmq.client
Subclasses of ShutdownSignalException in com.rabbitmq.client Modifier and Type Class Description classAlreadyClosedExceptionThrown when application tries to perform an action on connection/channel which was already closedFields in com.rabbitmq.client declared as ShutdownSignalException Modifier and Type Field Description private ShutdownSignalExceptionRpcServer.DefaultRpcConsumer. _shutdownFields in com.rabbitmq.client with type parameters of type ShutdownSignalException Modifier and Type Field Description private java.util.function.Predicate<ShutdownSignalException>ConnectionFactory. connectionRecoveryTriggeringConditionCondition to trigger automatic connection recovery.Methods in com.rabbitmq.client that return ShutdownSignalException Modifier and Type Method Description ShutdownSignalExceptionShutdownNotifier. getCloseReason()Get the shutdown reason objectShutdownSignalExceptionRpcServer. mainloop()Public API - main server loop.ShutdownSignalExceptionShutdownSignalException. sensibleClone()Methods in com.rabbitmq.client with parameters of type ShutdownSignalException Modifier and Type Method Description private static java.lang.StringAlreadyClosedException. composeMessagePrefix(ShutdownSignalException sse)voidConsumer. handleShutdownSignal(java.lang.String consumerTag, ShutdownSignalException sig)Called when either the channel or the underlying connection has been shut down.voidConsumerShutdownSignalCallback. handleShutdownSignal(java.lang.String consumerTag, ShutdownSignalException sig)Called when either the channel or the underlying connection has been shut down.voidDefaultConsumer. handleShutdownSignal(java.lang.String consumerTag, ShutdownSignalException sig)No-op implementation ofConsumer.handleShutdownSignal(java.lang.String, com.rabbitmq.client.ShutdownSignalException).voidRpcServer.DefaultRpcConsumer. handleShutdownSignal(java.lang.String consumerTag, ShutdownSignalException sig)voidShutdownListener. shutdownCompleted(ShutdownSignalException cause)Method parameters in com.rabbitmq.client with type arguments of type ShutdownSignalException Modifier and Type Method Description voidConnectionFactory. setConnectionRecoveryTriggeringCondition(java.util.function.Predicate<ShutdownSignalException> connectionRecoveryTriggeringCondition)Allows to decide on automatic connection recovery is triggered.Methods in com.rabbitmq.client that throw ShutdownSignalException Modifier and Type Method Description RpcClient.ResponseRpcClient. doCall(AMQP.BasicProperties props, byte[] message, int timeout)java.util.Map<java.lang.String,java.lang.Object>RpcClient. mapCall(java.lang.Object[] keyValuePairs)Perform an AMQP wire-protocol-table based RPC roundtrip, first constructing the table from an array of alternating keys (in even-numbered elements, starting at zero) and values (in odd-numbered elements, starting at one)
Restrictions on value arguments apply as inRpcClient.mapCall(Map).java.util.Map<java.lang.String,java.lang.Object>RpcClient. mapCall(java.util.Map<java.lang.String,java.lang.Object> message)Perform an AMQP wire-protocol-table based RPC roundtrip
There are some restrictions on the values appearing in the table:
they must be of typeString,LongString,Integer,BigDecimal,Date, or (recursively) aMapof the enclosing type.DeliveryRpcServer.DefaultRpcConsumer. nextDelivery()DeliveryRpcServer.RpcConsumer. nextDelivery()byte[]RpcClient. primitiveCall(byte[] message)Perform a simple byte-array-based RPC roundtrip.byte[]RpcClient. primitiveCall(AMQP.BasicProperties props, byte[] message)byte[]RpcClient. primitiveCall(AMQP.BasicProperties props, byte[] message, int timeout)RpcClient.ResponseRpcClient. responseCall(byte[] message)Perform a simple byte-array-based RPC roundtrip Useful if you need to get at more than just the body of the messageRpcClient.ResponseRpcClient. responseCall(byte[] message, int timeout)Perform a simple byte-array-based RPC roundtrip Useful if you need to get at more than just the body of the messagejava.lang.StringRpcClient. stringCall(java.lang.String message)Perform a simple string-based RPC roundtrip.Constructors in com.rabbitmq.client with parameters of type ShutdownSignalException Constructor Description AlreadyClosedException(ShutdownSignalException sse)AlreadyClosedException(ShutdownSignalException sse, java.lang.Throwable cause) -
Uses of ShutdownSignalException in com.rabbitmq.client.impl
Fields in com.rabbitmq.client.impl declared as ShutdownSignalException Modifier and Type Field Description private ShutdownSignalExceptionAMQConnection.SocketCloseWait. causeprivate ShutdownSignalExceptionShutdownNotifierComponent. shutdownCauseWhen this value is null, the component is in an "open" state.private ShutdownSignalExceptionConsumerDispatcher. shutdownSignalFields in com.rabbitmq.client.impl with type parameters of type ShutdownSignalException Modifier and Type Field Description BlockingValueOrException<T,ShutdownSignalException>AMQChannel.BlockingRpcContinuation. _blockerprivate java.util.function.Predicate<ShutdownSignalException>ConnectionParams. connectionRecoveryTriggeringConditionMethods in com.rabbitmq.client.impl that return ShutdownSignalException Modifier and Type Method Description ShutdownSignalExceptionShutdownNotifierComponent. getCloseReason()ShutdownSignalExceptionAMQConnection. shutdown(Method reason, boolean initiatedByApplication, java.lang.Throwable cause, boolean notifyRpc)Protected API - causes all attached channels to terminate (shutdown) with a ShutdownSignal built from the argument, and stops this connection from accepting further work from the application.private ShutdownSignalExceptionAMQConnection. startShutdown(Method reason, boolean initiatedByApplication, java.lang.Throwable cause, boolean notifyRpc)Methods in com.rabbitmq.client.impl that return types with arguments of type ShutdownSignalException Modifier and Type Method Description java.util.function.Predicate<ShutdownSignalException>ConnectionParams. getConnectionRecoveryTriggeringCondition()Methods in com.rabbitmq.client.impl with parameters of type ShutdownSignalException Modifier and Type Method Description private voidChannelN. broadcastShutdownSignal(ShutdownSignalException signal)Sends a ShutdownSignal to all active consumers.private voidAMQConnection. finishShutdown(ShutdownSignalException sse)voidAMQChannel.BlockingRpcContinuation. handleShutdownSignal(ShutdownSignalException signal)voidAMQChannel.RpcContinuation. handleShutdownSignal(ShutdownSignalException signal)java.util.concurrent.CountDownLatchConsumerDispatcher. handleShutdownSignal(java.util.Map<java.lang.String,Consumer> consumers, ShutdownSignalException signal)voidChannelManager. handleSignal(ShutdownSignalException signal)Handle shutdown.private voidConsumerDispatcher. notifyConsumerOfShutdown(java.lang.String consumerTag, Consumer consumer, ShutdownSignalException signal)private voidConsumerDispatcher. notifyConsumersOfShutdown(java.util.Map<java.lang.String,Consumer> consumers, ShutdownSignalException signal)voidAMQChannel. notifyOutstandingRpc(ShutdownSignalException signal)voidAMQChannel. processShutdownSignal(ShutdownSignalException signal, boolean ignoreClosed, boolean notifyRpc)Protected API - respond, in the driver thread, to aShutdownSignalException.voidChannelN. processShutdownSignal(ShutdownSignalException signal, boolean ignoreClosed, boolean notifyRpc)Protected API - overridden to quiesce consumer work and broadcast the signal to all consumers after calling the superclass's method.booleanShutdownNotifierComponent. setShutdownCauseIfOpen(ShutdownSignalException sse)Internal: this is the means of registering shutdown.voidCompletableFutureRpcWrapper. shutdown(ShutdownSignalException signal)private voidConsumerDispatcher. shutdown(ShutdownSignalException signal)voidRpcContinuationRpcWrapper. shutdown(ShutdownSignalException signal)voidRpcWrapper. shutdown(ShutdownSignalException signal)private voidChannelN. startProcessShutdownSignal(ShutdownSignalException signal, boolean ignoreClosed, boolean notifyRpc)Start to shutdown -- defer rest of processing until readystatic java.io.IOExceptionAMQChannel. wrap(ShutdownSignalException ex)Placeholder until we address bug 15786 (implementing a proper exception hierarchy).static java.io.IOExceptionAMQChannel. wrap(ShutdownSignalException ex, java.lang.String message)Method parameters in com.rabbitmq.client.impl with type arguments of type ShutdownSignalException Modifier and Type Method Description voidConnectionParams. setConnectionRecoveryTriggeringCondition(java.util.function.Predicate<ShutdownSignalException> connectionRecoveryTriggeringCondition)Methods in com.rabbitmq.client.impl that throw ShutdownSignalException Modifier and Type Method Description TAMQChannel.BlockingRpcContinuation. getReply()TAMQChannel.BlockingRpcContinuation. getReply(int timeout)private java.util.concurrent.CompletableFuture<Command>AMQChannel. privateAsyncRpc(Method m)private AMQCommandAMQChannel. privateRpc(Method m)private AMQCommandAMQChannel. privateRpc(Method m, int timeout)AMQCommandAMQChannel. rpc(Method m)Protected API - sends aMethodto the broker and waits for the next in-bound Command from the broker: only for use from non-connection-MainLoop threads!AMQCommandAMQChannel. rpc(Method m, int timeout)Constructors in com.rabbitmq.client.impl with parameters of type ShutdownSignalException Constructor Description SocketCloseWait(ShutdownSignalException sse) -
Uses of ShutdownSignalException in com.rabbitmq.client.impl.recovery
Fields in com.rabbitmq.client.impl.recovery with type parameters of type ShutdownSignalException Modifier and Type Field Description private java.util.function.Predicate<ShutdownSignalException>AutorecoveringConnection. connectionRecoveryTriggeringConditionstatic java.util.function.Predicate<ShutdownSignalException>AutorecoveringConnection. DEFAULT_CONNECTION_RECOVERY_TRIGGERING_CONDITIONMethods in com.rabbitmq.client.impl.recovery that return ShutdownSignalException Modifier and Type Method Description ShutdownSignalExceptionAutorecoveringChannel. getCloseReason()ShutdownSignalExceptionAutorecoveringConnection. getCloseReason()Methods in com.rabbitmq.client.impl.recovery with parameters of type ShutdownSignalException Modifier and Type Method Description voidRecoveryCanBeginListener. recoveryCanBegin(ShutdownSignalException cause)protected booleanAutorecoveringConnection. shouldTriggerConnectionRecovery(ShutdownSignalException cause)
-