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