public class ReferenceNodeStore extends Object implements NodeStore<MessageReference>
| Constructor and Description |
|---|
ReferenceNodeStore(ActiveMQServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
getDefaultNodeID() |
long |
getID(MessageReference element) |
LinkedListImpl.Node<MessageReference> |
getNode(String serverID,
long id) |
String |
getServerID(MessageReference element) |
void |
removeNode(MessageReference element,
LinkedListImpl.Node<MessageReference> node) |
int |
size() |
void |
storeNode(MessageReference element,
LinkedListImpl.Node<MessageReference> node) |
public ReferenceNodeStore(ActiveMQServer server)
public String getDefaultNodeID()
public void storeNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)
storeNode in interface NodeStore<MessageReference>public void removeNode(MessageReference element, LinkedListImpl.Node<MessageReference> node)
removeNode in interface NodeStore<MessageReference>public LinkedListImpl.Node<MessageReference> getNode(String serverID, long id)
getNode in interface NodeStore<MessageReference>public String getServerID(MessageReference element)
public long getID(MessageReference element)
public void clear()
clear in interface NodeStore<MessageReference>public int size()
size in interface NodeStore<MessageReference>Copyright © 2021 The Apache Software Foundation. All rights reserved.