public interface ClusterAwareService extends KieService
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_JOBS_KEY |
static String |
CLUSTER_NODES_KEY |
Modifier and Type | Method and Description |
---|---|
void |
addClusterListener(ClusterListener listener)
Add cluster listener for join and left members
|
<T> void |
addData(String key,
String partition,
T value) |
Collection<ClusterNode> |
getActiveClusterNodes()
Get all active members of the cluster
|
<T> List<T> |
getData(String key) |
<T> List<T> |
getDataFromPartition(String key,
String partition) |
ClusterNode |
getThisNode() |
boolean |
isCoordinator()
Computes whether the jbpm engine instance is the coordinator therefore the one to
provide singleton cluster active features.
|
<T> void |
removeData(String key,
String partition,
T value) |
static final String CLUSTER_NODES_KEY
static final String CLUSTER_JOBS_KEY
ClusterNode getThisNode()
boolean isCoordinator()
Collection<ClusterNode> getActiveClusterNodes()
void addClusterListener(ClusterListener listener)
listener
- Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.