org.apache.activemq.broker
Class SingleTransportConnectionStateRegister

java.lang.Object
  extended by org.apache.activemq.broker.SingleTransportConnectionStateRegister
All Implemented Interfaces:
TransportConnectionStateRegister

public class SingleTransportConnectionStateRegister
extends Object
implements TransportConnectionStateRegister


Constructor Summary
SingleTransportConnectionStateRegister()
           
 
Method Summary
 void clear()
           
 boolean doesHandleMultipleConnectionStates()
           
 void intialize(TransportConnectionStateRegister other)
           
 boolean isEmpty()
           
 List<TransportConnectionState> listConnectionStates()
           
 TransportConnectionState lookupConnectionState(ConnectionId connectionId)
           
 TransportConnectionState lookupConnectionState(ConsumerId id)
           
 TransportConnectionState lookupConnectionState(ProducerId id)
           
 TransportConnectionState lookupConnectionState(SessionId id)
           
 TransportConnectionState lookupConnectionState(String connectionId)
           
 Map<ConnectionId,TransportConnectionState> mapStates()
           
 TransportConnectionState registerConnectionState(ConnectionId connectionId, TransportConnectionState state)
           
 TransportConnectionState unregisterConnectionState(ConnectionId connectionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleTransportConnectionStateRegister

public SingleTransportConnectionStateRegister()
Method Detail

registerConnectionState

public TransportConnectionState registerConnectionState(ConnectionId connectionId,
                                                        TransportConnectionState state)
Specified by:
registerConnectionState in interface TransportConnectionStateRegister

unregisterConnectionState

public TransportConnectionState unregisterConnectionState(ConnectionId connectionId)
Specified by:
unregisterConnectionState in interface TransportConnectionStateRegister

listConnectionStates

public List<TransportConnectionState> listConnectionStates()
Specified by:
listConnectionStates in interface TransportConnectionStateRegister

lookupConnectionState

public TransportConnectionState lookupConnectionState(String connectionId)
Specified by:
lookupConnectionState in interface TransportConnectionStateRegister

lookupConnectionState

public TransportConnectionState lookupConnectionState(ConsumerId id)
Specified by:
lookupConnectionState in interface TransportConnectionStateRegister

lookupConnectionState

public TransportConnectionState lookupConnectionState(ProducerId id)
Specified by:
lookupConnectionState in interface TransportConnectionStateRegister

lookupConnectionState

public TransportConnectionState lookupConnectionState(SessionId id)
Specified by:
lookupConnectionState in interface TransportConnectionStateRegister

lookupConnectionState

public TransportConnectionState lookupConnectionState(ConnectionId connectionId)
Specified by:
lookupConnectionState in interface TransportConnectionStateRegister

doesHandleMultipleConnectionStates

public boolean doesHandleMultipleConnectionStates()
Specified by:
doesHandleMultipleConnectionStates in interface TransportConnectionStateRegister

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TransportConnectionStateRegister

intialize

public void intialize(TransportConnectionStateRegister other)
Specified by:
intialize in interface TransportConnectionStateRegister

mapStates

public Map<ConnectionId,TransportConnectionState> mapStates()
Specified by:
mapStates in interface TransportConnectionStateRegister

clear

public void clear()
Specified by:
clear in interface TransportConnectionStateRegister


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.