Class InfinispanRemoteClusterView
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.cluster.AbstractCamelClusterView
org.apache.camel.component.infinispan.cluster.InfinispanClusterView
org.apache.camel.component.infinispan.remote.cluster.InfinispanRemoteClusterView
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.cluster.CamelClusterView,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasCamelContext,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
public class InfinispanRemoteClusterView
extends org.apache.camel.component.infinispan.cluster.InfinispanClusterView
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.component.infinispan.cluster.InfinispanClusterView
org.apache.camel.component.infinispan.cluster.InfinispanClusterView.ClusterMember, org.apache.camel.component.infinispan.cluster.InfinispanClusterView.LocalMember -
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInfinispanRemoteClusterView(InfinispanRemoteClusterService cluster, InfinispanRemoteClusterConfiguration configuration, String namespace) -
Method Summary
Methods inherited from class org.apache.camel.support.cluster.AbstractCamelClusterView
addEventListener, fireLeadershipChangedEvent, fireLeadershipChangedEvent, fireMemberAddedEvent, fireMemberRemovedEvent, getCamelContext, getClusterService, getNamespace, removeEventListener, setCamelContextMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.cluster.CamelClusterView
unwrapMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
InfinispanRemoteClusterView
protected InfinispanRemoteClusterView(InfinispanRemoteClusterService cluster, InfinispanRemoteClusterConfiguration configuration, String namespace)
-
-
Method Details
-
doStart
- Overrides:
doStartin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStop
- Overrides:
doStopin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
getLocalMember
public org.apache.camel.cluster.CamelClusterMember getLocalMember() -
getMembers
-
getLeader
-
isLeader
- Specified by:
isLeaderin classorg.apache.camel.component.infinispan.cluster.InfinispanClusterView
-