public interface MonitoringConsole
MonitoringConsole is the control interface for the logical processing instance running on each node in a
cluster. A MonitoringConsole can be one of the senders of the cluster or the single receiver of the cluster.
The interface allows the monitored application to control the console state.
The instance is created by the MonitoringConsoleFactory. It is implemented by the monitoring console library.| Modifier and Type | Method and Description |
|---|---|
<T> T |
getService(Class<T> type)
Simple service locator to access abstractions within the console.
|
void |
setEnabled(boolean enabled)
When enabled the console does its data collection and sends it data to the receiver instance (as sender) or
stores it (as receiver).
|
void setEnabled(boolean enabled)
enabled - true to enable the console, false to disable it<T> T getService(Class<T> type) throws NoSuchElementException
type - an interface type for the service to loadNoSuchElementException - in case no service of type is knownCopyright © 2020. All rights reserved.