Class LocalTopicSubscription
- java.lang.Object
-
- net.timewalker.ffmq4.local.destination.subscription.LocalTopicSubscription
-
public final class LocalTopicSubscription extends Object
Internal holder of a durable
Topicsubscription, to be used by theLocalTopicimplementation.
-
-
Constructor Summary
Constructors Constructor Description LocalTopicSubscription(LocalMessageConsumer consumer)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectionID()longgetCreationTS()SelectorIndexKeygetIndexKey()LocalQueuegetLocalQueue()MessageSelectorgetMessageSelector()booleangetNoLocal()StringgetSubscriberId()booleanisDurable()booleanisIndexed()voidsetIndexKey(SelectorIndexKey indexKey)StringtoString()
-
-
-
Constructor Detail
-
LocalTopicSubscription
public LocalTopicSubscription(LocalMessageConsumer consumer)
Constructor
-
-
Method Detail
-
getCreationTS
public long getCreationTS()
- Returns:
- the creationTS
-
getMessageSelector
public MessageSelector getMessageSelector()
- Returns:
- the messageSelector
-
getSubscriberId
public String getSubscriberId()
- Returns:
- the subscriberID
-
getLocalQueue
public LocalQueue getLocalQueue()
- Returns:
- the localQueue
-
getConnectionID
public String getConnectionID()
- Returns:
- the connectionID
-
isDurable
public boolean isDurable()
- Returns:
- the durable
-
getNoLocal
public boolean getNoLocal()
- Returns:
- the noLocal
-
setIndexKey
public void setIndexKey(SelectorIndexKey indexKey)
- Parameters:
indexKey- the indexKey to set
-
getIndexKey
public SelectorIndexKey getIndexKey()
- Returns:
- the indexKey
-
isIndexed
public boolean isIndexed()
-
-