|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.cluster.OfBizClusterMessageStore
public class OfBizClusterMessageStore
Responsible for storing and retrieving cluster messages in the underlying database.
| Constructor Summary | |
|---|---|
OfBizClusterMessageStore(OfBizDelegator ofBizDelegator)
|
|
| Method Summary | |
|---|---|
ClusterMessage |
createMessage(String sourceNode,
String destinationNode,
String message)
Creates a ClusterMessage and stores it in the underlying database |
int |
deleteMessage(ClusterMessage clusterMessage)
|
List<ClusterMessage> |
getMessages(Node destinationNode)
Retrieves the messages destined for the given node. |
org.ofbiz.core.entity.GenericValue |
storeMessage(ClusterMessage message)
Stores the message in the underlying database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OfBizClusterMessageStore(OfBizDelegator ofBizDelegator)
| Method Detail |
|---|
public org.ofbiz.core.entity.GenericValue storeMessage(@Nonnull
ClusterMessage message)
message - - the message to store in the underlying table
public ClusterMessage createMessage(@Nonnull
String sourceNode,
@Nonnull
String destinationNode,
@Nonnull
String message)
sourceNode - the ID of the source node (required)destinationNode - the ID of the destination node (required)message - the message to send (required)public List<ClusterMessage> getMessages(Node destinationNode)
public int deleteMessage(ClusterMessage clusterMessage)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||