public class CacheClusterEvent extends Object implements Serializable
| Constructor and Description |
|---|
CacheClusterEvent(String event,
long clusterRevision)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getClusterRevision()
The target cluster journal revision to consider when processing this event.
|
String |
getEvent()
The cluster event message.
|
public CacheClusterEvent(String event, long clusterRevision)
event - the cluster event messageclusterRevision - current cluster journal revision to consider ordering of events. Use negative value (say
Integer.MIN_VALUE) to execute event immediately on receipt.public String getEvent()
public long getClusterRevision()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.