public static class ServerSessionImpl.TempQueueCleanerUpper extends Object implements CloseListener, FailureListener
Constructor and Description |
---|
TempQueueCleanerUpper(ActiveMQServer server,
SimpleString bindingName) |
Modifier and Type | Method and Description |
---|---|
void |
connectionClosed()
called when the connection is closed
|
void |
connectionFailed(ActiveMQException exception,
boolean failedOver)
Notifies that a connection has failed due to the specified exception.
|
void |
connectionFailed(ActiveMQException me,
boolean failedOver,
String scaleDownTargetNodeID)
Notifies that a connection has failed due to the specified exception.
|
void |
setObserver(TempQueueObserver observer) |
String |
toString() |
public TempQueueCleanerUpper(ActiveMQServer server, SimpleString bindingName)
public void setObserver(TempQueueObserver observer)
public void connectionFailed(ActiveMQException exception, boolean failedOver)
FailureListener
connectionFailed
in interface FailureListener
exception
- exception which has caused the connection to failpublic void connectionFailed(ActiveMQException me, boolean failedOver, String scaleDownTargetNodeID)
FailureListener
connectionFailed
in interface FailureListener
me
- exception which has caused the connection to failscaleDownTargetNodeID
- the ID of the node to which messages are scaling downpublic void connectionClosed()
CloseListener
connectionClosed
in interface CloseListener
Copyright © 2018 JBoss by Red Hat. All rights reserved.