public class InfinispanEmbeddedClusterView
extends org.apache.camel.component.infinispan.cluster.InfinispanClusterView
| Modifier | Constructor and Description |
|---|---|
protected |
InfinispanEmbeddedClusterView(InfinispanEmbeddedClusterService cluster,
InfinispanEmbeddedClusterConfiguration configuration,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
Optional<org.apache.camel.cluster.CamelClusterMember> |
getLeader() |
org.apache.camel.cluster.CamelClusterMember |
getLocalMember() |
List<org.apache.camel.cluster.CamelClusterMember> |
getMembers() |
protected boolean |
isLeader(String id) |
addEventListener, fireLeadershipChangedEvent, fireMemberAddedEvent, fireMemberRemovedEvent, getCamelContext, getClusterService, getNamespace, removeEventListener, setCamelContextbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected InfinispanEmbeddedClusterView(InfinispanEmbeddedClusterService cluster, InfinispanEmbeddedClusterConfiguration configuration, String namespace)
public void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic org.apache.camel.cluster.CamelClusterMember getLocalMember()
public List<org.apache.camel.cluster.CamelClusterMember> getMembers()
public Optional<org.apache.camel.cluster.CamelClusterMember> getLeader()
protected boolean isLeader(String id)
isLeader in class org.apache.camel.component.infinispan.cluster.InfinispanClusterViewApache Camel