Class ReferenceNodeStore
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.mirror.ReferenceNodeStore
-
- All Implemented Interfaces:
NodeStore<MessageReference>
public class ReferenceNodeStore extends Object implements NodeStore<MessageReference>
-
-
Constructor Summary
Constructors Constructor Description ReferenceNodeStore(ActiveMQServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()StringgetDefaultNodeID()longgetID(MessageReference element)LinkedListImpl.Node<MessageReference>getNode(String serverID, long id)StringgetServerID(MessageReference element)voidremoveNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)intsize()voidstoreNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)
-
-
-
Constructor Detail
-
ReferenceNodeStore
public ReferenceNodeStore(ActiveMQServer server)
-
-
Method Detail
-
getDefaultNodeID
public String getDefaultNodeID()
-
storeNode
public void storeNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)
- Specified by:
storeNodein interfaceNodeStore<MessageReference>
-
removeNode
public void removeNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)
- Specified by:
removeNodein interfaceNodeStore<MessageReference>
-
getNode
public LinkedListImpl.Node<MessageReference> getNode(String serverID, long id)
- Specified by:
getNodein interfaceNodeStore<MessageReference>
-
getServerID
public String getServerID(MessageReference element)
-
getID
public long getID(MessageReference element)
-
clear
public void clear()
- Specified by:
clearin interfaceNodeStore<MessageReference>
-
size
public int size()
- Specified by:
sizein interfaceNodeStore<MessageReference>
-
-