Package org.apache.activemq.state
Class SessionState
- java.lang.Object
-
- org.apache.activemq.state.SessionState
-
public class SessionState extends Object
-
-
Constructor Summary
Constructors Constructor Description SessionState(SessionInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConsumer(ConsumerInfo info)
void
addProducer(ProducerInfo info)
Set<ConsumerId>
getConsumerIds()
ConsumerState
getConsumerState(ConsumerId consumerId)
Collection<ConsumerState>
getConsumerStates()
SessionInfo
getInfo()
Set<ProducerId>
getProducerIds()
ProducerState
getProducerState(ProducerId producerId)
Collection<ProducerState>
getProducerStates()
ConsumerState
removeConsumer(ConsumerId id)
ProducerState
removeProducer(ProducerId id)
void
shutdown()
String
toString()
-
-
-
Constructor Detail
-
SessionState
public SessionState(SessionInfo info)
-
-
Method Detail
-
addProducer
public void addProducer(ProducerInfo info)
-
removeProducer
public ProducerState removeProducer(ProducerId id)
-
addConsumer
public void addConsumer(ConsumerInfo info)
-
removeConsumer
public ConsumerState removeConsumer(ConsumerId id)
-
getInfo
public SessionInfo getInfo()
-
getConsumerIds
public Set<ConsumerId> getConsumerIds()
-
getProducerIds
public Set<ProducerId> getProducerIds()
-
getProducerStates
public Collection<ProducerState> getProducerStates()
-
getProducerState
public ProducerState getProducerState(ProducerId producerId)
-
getConsumerStates
public Collection<ConsumerState> getConsumerStates()
-
getConsumerState
public ConsumerState getConsumerState(ConsumerId consumerId)
-
shutdown
public void shutdown()
-
-