Interface ManagedClusterServiceMBean
-
public interface ManagedClusterServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCamelId()
Collection<String>
getNamespaces()
String
getState()
boolean
isLeader(String namespace)
void
start()
void
startView(String namespace)
void
stop()
void
stopView(String namespace)
-
-
-
Method Detail
-
getNamespaces
@ManagedAttribute(description="The namespaces handled by the service") Collection<String> getNamespaces()
-
getState
@ManagedAttribute(description="Service State") String getState()
-
getCamelId
@ManagedAttribute(description="Camel ID") String getCamelId()
-
start
@ManagedOperation(description="Start Service") void start() throws Exception
- Throws:
Exception
-
stop
@ManagedOperation(description="Stop Service") void stop() throws Exception
- Throws:
Exception
-
startView
@ManagedOperation(description="Start the View") void startView(String namespace) throws Exception
- Throws:
Exception
-
stopView
@ManagedOperation(description="Stop the View") void stopView(String namespace) throws Exception
- Throws:
Exception
-
isLeader
@ManagedOperation(description="If the local view is leader") boolean isLeader(String namespace)
-
-