public class AutoRecoveringConnectionWithMetrics extends Object implements com.rabbitmq.client.Recoverable
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
abort(int timeout) |
void |
abort(int closeCode,
String closeMessage) |
void |
abort(int closeCode,
String closeMessage,
int timeout) |
void |
addBlockedListener(com.rabbitmq.client.BlockedListener listener) |
void |
addRecoveryListener(com.rabbitmq.client.RecoveryListener recoveryListener) |
void |
addShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
void |
clearBlockedListeners() |
void |
close() |
void |
close(int timeout) |
void |
close(int closeCode,
String closeMessage) |
void |
close(int closeCode,
String closeMessage,
int timeout) |
com.rabbitmq.client.Channel |
createChannel() |
com.rabbitmq.client.Channel |
createChannel(int channelNumber) |
InetAddress |
getAddress() |
int |
getChannelMax() |
Map<String,Object> |
getClientProperties() |
String |
getClientProvidedName() |
com.rabbitmq.client.ShutdownSignalException |
getCloseReason() |
com.rabbitmq.client.ExceptionHandler |
getExceptionHandler() |
int |
getFrameMax() |
int |
getHeartbeat() |
int |
getPort() |
Map<String,Object> |
getServerProperties() |
boolean |
isOpen() |
void |
notifyListeners() |
boolean |
removeBlockedListener(com.rabbitmq.client.BlockedListener listener) |
void |
removeRecoveryListener(com.rabbitmq.client.RecoveryListener recoveryListener) |
void |
removeShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
public void addRecoveryListener(com.rabbitmq.client.RecoveryListener recoveryListener)
addRecoveryListener in interface com.rabbitmq.client.Recoverablepublic void removeRecoveryListener(com.rabbitmq.client.RecoveryListener recoveryListener)
removeRecoveryListener in interface com.rabbitmq.client.Recoverablepublic InetAddress getAddress()
getAddress in interface com.rabbitmq.client.Connectionpublic int getPort()
getPort in interface com.rabbitmq.client.Connectionpublic int getChannelMax()
getChannelMax in interface com.rabbitmq.client.Connectionpublic int getFrameMax()
getFrameMax in interface com.rabbitmq.client.Connectionpublic int getHeartbeat()
getHeartbeat in interface com.rabbitmq.client.Connectionpublic Map<String,Object> getClientProperties()
getClientProperties in interface com.rabbitmq.client.Connectionpublic String getClientProvidedName()
getClientProvidedName in interface com.rabbitmq.client.Connectionpublic Map<String,Object> getServerProperties()
getServerProperties in interface com.rabbitmq.client.Connectionpublic com.rabbitmq.client.Channel createChannel()
throws IOException
createChannel in interface com.rabbitmq.client.ConnectionIOExceptionpublic com.rabbitmq.client.Channel createChannel(int channelNumber)
throws IOException
createChannel in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close()
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close(int closeCode,
String closeMessage)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close(int timeout)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close(int closeCode,
String closeMessage,
int timeout)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void abort()
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
String closeMessage)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int timeout)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
String closeMessage,
int timeout)
abort in interface com.rabbitmq.client.Connectionpublic void addBlockedListener(com.rabbitmq.client.BlockedListener listener)
addBlockedListener in interface com.rabbitmq.client.Connectionpublic boolean removeBlockedListener(com.rabbitmq.client.BlockedListener listener)
removeBlockedListener in interface com.rabbitmq.client.Connectionpublic void clearBlockedListeners()
clearBlockedListeners in interface com.rabbitmq.client.Connectionpublic com.rabbitmq.client.ExceptionHandler getExceptionHandler()
getExceptionHandler in interface com.rabbitmq.client.Connectionpublic void addShutdownListener(com.rabbitmq.client.ShutdownListener listener)
addShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic void removeShutdownListener(com.rabbitmq.client.ShutdownListener listener)
removeShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic com.rabbitmq.client.ShutdownSignalException getCloseReason()
getCloseReason in interface com.rabbitmq.client.ShutdownNotifierpublic void notifyListeners()
notifyListeners in interface com.rabbitmq.client.ShutdownNotifierpublic boolean isOpen()
isOpen in interface com.rabbitmq.client.ShutdownNotifierCopyright © 2016. All rights reserved.