- cancel(Object) - Static method in class com.devexperts.mars.common.MARSScheduler
-
Cancels scheduling of specified command or stops watching of specified object.
- CATEGORY - Static variable in interface com.devexperts.mars.common.MARSConstants
-
- clear() - Method in class com.devexperts.mars.common.net.MARSBuffer
-
Clears buffer by setting it's size to 0.
- close() - Method in interface com.devexperts.connector.ConnectionAdapter
-
Closes this connection adapter.
- close() - Method in class com.devexperts.mars.common.MARSAgent
-
Closes this agent by detaching it from it's
MARS
instance.
- close() - Method in class com.devexperts.mars.common.MARSMonitoredBean
-
Removes all MARS nodes for this monitored bean.
- close() - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
-
- close() - Method in class com.devexperts.mars.jvm.CpuCounter
-
Stops tracking CPU usage if that was the last instance.
- com.devexperts.connector - package com.devexperts.connector
-
This package contains a TCP/IP connector which uses standard Java sockets.
- com.devexperts.mars.common - package com.devexperts.mars.common
-
This package contains a MARS data model and public API.
- com.devexperts.mars.common.net - package com.devexperts.mars.common.net
-
This package contains a MARS network layer with TCP/IP connector which uses standard Java sockets.
- com.devexperts.mars.jvm - package com.devexperts.mars.jvm
-
- compareTo(Object) - Method in class com.devexperts.mars.common.MARSStatus
-
- ConnectionAdapter - Interface in com.devexperts.connector
-
ConnectionAdapter is used to mate single connection (network socket) with corresponding data structures.
- ConnectionAdapterListener - Interface in com.devexperts.connector
-
ConnectionAdapterListener is used to receive notification about corresponding
ConnectionAdapter
state changes.
- connectionEstablished(String) - Method in interface com.devexperts.connector.ConnectorListener
-
Invoked when a connection has been established.
- connectionLost(String, Throwable) - Method in interface com.devexperts.connector.ConnectorListener
-
Invoked when a connection has been lost.
- Connector - Class in com.devexperts.connector
-
Connector manages single set of communication links (defined as address string).
- Connector() - Constructor for class com.devexperts.connector.Connector
-
- ConnectorListener - Interface in com.devexperts.connector
-
The listener interface for receiving connector events.
- ConnectorMBean - Interface in com.devexperts.connector
-
ConnectorMBean is a management interface for
Connector
class to use with JMX technology.
- ConnectorStates - Interface in com.devexperts.connector
-
- CpuCounter - Class in com.devexperts.mars.jvm
-
Monitors process CPU usage.
- CpuCounter() - Constructor for class com.devexperts.mars.jvm.CpuCounter
-
- createConnectionAdapter(Socket) - Method in class com.devexperts.connector.Connector
-
- createConnectionAdapter(Socket) - Method in class com.devexperts.mars.common.net.MARSConnector
-
- createMARSEvent(String, String) - Method in class com.devexperts.mars.common.MARSEventFactory
-
- createMARSEvent(String, String, long) - Method in class com.devexperts.mars.common.MARSEventFactory
-
- createPlugin(MARSEndpoint) - Method in class com.devexperts.mars.common.MARSPlugin.Factory
-
- createPlugin(MARSEndpoint) - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring.PluginFactory
-
- generateUniqueName() - Static method in class com.devexperts.mars.common.MARSNode
-
Generates new unique name useful to distinguish conflicting nodes.
- getAddress() - Method in class com.devexperts.connector.Connector
-
- getAddress() - Method in interface com.devexperts.connector.ConnectorMBean
-
Returns address string of this connector.
- getAddress() - Method in class com.devexperts.connector.SocketAddress
-
- getBind() - Method in class com.devexperts.connector.SocketAddress
-
- getBuffer() - Method in class com.devexperts.mars.common.net.MARSBuffer
-
Returns character array currently used by this buffer or null if none is allocated yet.
- getCategory() - Method in class com.devexperts.mars.common.MARSNode
-
Returns category of this node or null if unspecified.
- getConnectorListener() - Method in class com.devexperts.connector.Connector
-
- getCpuTime() - Method in class com.devexperts.mars.jvm.CpuCounter
-
Returns amount of consumed CPU time since the JVM started, in nanoseconds.
- getCpuUsage() - Method in class com.devexperts.mars.jvm.CpuCounter
-
Returns CPU usage since last call of this method, in fractions (from 0 to 1) of total CPU capacity.
- getCpuUsage() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getCpuUsage() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current CPU usage in percents as a human-readable string
- getDescription() - Method in class com.devexperts.mars.common.MARSNode
-
Returns description of this node or null if unspecified.
- getDoubleValue() - Method in class com.devexperts.mars.common.MARSNode
-
Returns double value of this node or
Double.NaN
if unspecified or unparseable.
- getEvent(String) - Method in class com.devexperts.mars.common.MARS
-
Returns last event that has changed specified parameter or null if not found.
- getHeapSize() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getHeapSize() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current heap memory size as a human-readable string
- getHeapUsage() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getHeapUsage() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current heap memory usage as a human-readable string
- getHeartbeatPeriod() - Method in class com.devexperts.connector.Connector
-
- getHeartbeatPeriod() - Method in interface com.devexperts.connector.ConnectorMBean
-
Returns heartbeat period (in milliseconds) or 0 if heartbeats are disabled.
- getHeartbeatTimeout() - Method in class com.devexperts.connector.Connector
-
- getHeartbeatTimeout() - Method in interface com.devexperts.connector.ConnectorMBean
-
Returns heartbeat timeout (in milliseconds) or 0 if heartbeats are disabled.
- getHost() - Method in class com.devexperts.connector.SocketAddress
-
- getInstance() - Static method in class com.devexperts.mars.common.MARSEndpoint
-
- getInstance() - Static method in class com.devexperts.mars.common.MARSEventFactory
-
- getIntValue() - Method in class com.devexperts.mars.common.MARSNode
-
Returns integer value of this node or 0 if unspecified or unparseable.
- getListener() - Method in class com.devexperts.mars.common.MARSAgent
-
- getMars() - Method in class com.devexperts.mars.common.MARSNode
-
Returns
MARS
instance of this node.
- getMarsRootName() - Method in class com.devexperts.mars.common.MARSEndpoint
-
- getName() - Method in class com.devexperts.mars.common.MARSEvent
-
Returns name of a parameter changed by this event.
- getName() - Method in class com.devexperts.mars.common.MARSNode
-
Returns name of this node.
- getName() - Method in class com.devexperts.mars.common.MARSStatus
-
Returns name of this status that can be used as a prefix for corresponding value.
E.g.: "Ok",
"Warning", "Error", "Removed", and "<undefined>".
- getNodeName() - Method in class com.devexperts.mars.common.MARSEvent
-
Returns name of the node changed by this event (node name does not include parameter type).
- getNonHeapSize() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getNonHeapSize() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current non-heap memory size as a human-readable string
- getNonHeapUsage() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getNonHeapUsage() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current non-heap memory usage as a human-readable string
- getPort() - Method in class com.devexperts.connector.SocketAddress
-
- getReadBufferLimit() - Method in class com.devexperts.mars.common.net.MARSConnector
-
Returns limit of read buffer at which connection is closed.
- getReconnectionPeriod() - Method in class com.devexperts.connector.Connector
-
- getReconnectionPeriod() - Method in interface com.devexperts.connector.ConnectorMBean
-
Returns reconnection period (in milliseconds) or 0 for immediate reeconnect.
- getRoot() - Method in class com.devexperts.mars.common.MARSEndpoint
-
- getRoot() - Static method in class com.devexperts.mars.common.MARSNode
-
Returns default singleton root node for this JVM.
- getShortName() - Method in class com.devexperts.mars.common.MARSStatus
-
Fixed-length uppercase name for the corresponding status.
E.g.: "OK", "WARNG",
"ERROR", "RMVED", and "UNDEF".
- getSize() - Method in class com.devexperts.mars.common.net.MARSBuffer
-
Returns number of payload characters in the buffer.
- getSkewedPeriod(int) - Method in class com.devexperts.connector.Connector
-
Applies skew factor to specified period and returns result.
- getSkewFactor() - Method in class com.devexperts.connector.Connector
-
- getSkewFactor() - Method in interface com.devexperts.connector.ConnectorMBean
-
Returns skew factor in a range [0,1].
- getSocketAddress(Socket) - Method in class com.devexperts.connector.Connector
-
Returns string representation of specified socket address.
- getSpec() - Method in class com.devexperts.connector.SocketAddress
-
- getStatus() - Method in class com.devexperts.mars.common.MARSNode
-
Returns status of this node or null if unspecified.
- getThreadCount() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadCount() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Current number of threads and peak as a human-readable string
- getThreadDeadlockedCount() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadDeadlockedCount() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Number of deadlocked threads
- getThreadDumpsCount() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadDumpsCount() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Number of remaining thread dumps to take
- getThreadDumpsFile() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadDumpsFile() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Path and name of the file to write thread dumps to (stdout when empty)
- getThreadDumpsPeriod() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadDumpsPeriod() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Period between thread dumps
- getThreadDumpsScheduledAt() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getThreadDumpsScheduledAt() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Date and time when thread dumps are scheduled to start
- getTimestamp() - Method in class com.devexperts.mars.common.MARSEvent
-
- getTimeValue() - Method in class com.devexperts.mars.common.MARSNode
-
Returns time value of this node or 0 if unspecified or unparseable.
- getTimeValue(TimeZone) - Method in class com.devexperts.mars.common.MARSNode
-
Returns time value of this node or 0 if unspecified or unparseable.
- getTimeZone() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getTimeZone() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
Default JVM time zone description
- getUptime() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- getUptime() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
-
JVM up time as a human-readable string
- getValue(String) - Method in class com.devexperts.mars.common.MARS
-
Returns current value of specified parameter or null if not found.
- getValue() - Method in class com.devexperts.mars.common.MARSEvent
-
Returns new value for a parameter changed by this event.
- getValue() - Method in class com.devexperts.mars.common.MARSNode
-
Returns unparsed value of this node or null if unspecified.
- schedule(Runnable) - Static method in class com.devexperts.mars.common.MARSScheduler
-
Schedules specified command for execution with default MARS period.
- schedule(Runnable, long, TimeUnit) - Static method in class com.devexperts.mars.common.MARSScheduler
-
Schedules specified command for execution with specified period.
- setAddress(String) - Method in class com.devexperts.connector.Connector
-
- setAddress(String) - Method in interface com.devexperts.connector.ConnectorMBean
-
Sets new address string for this connector, closes connections that were established for
addresses that are no longer in the address string, starts (if required) new connections
for new addresses, does nothing for connections those addresses have not changed.
- setCategory(String) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new category of this node; does nothing if null is specified.
- setConnectorListener(ConnectorListener) - Method in class com.devexperts.connector.Connector
-
- setDescription(String) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new description of this node; does nothing if null is specified.
- setDoubleValue(double, long) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new double value of this node.
- setDoubleValue(double) - Method in class com.devexperts.mars.common.MARSNode
-
- setHeartbeatPeriod(int) - Method in class com.devexperts.connector.Connector
-
- setHeartbeatPeriod(int) - Method in interface com.devexperts.connector.ConnectorMBean
-
Sets new heartbeat period (in milliseconds) or 0 to disable heartbeats.
- setHeartbeatTimeout(int) - Method in class com.devexperts.connector.Connector
-
The timeout must be >= 0.
- setHeartbeatTimeout(int) - Method in interface com.devexperts.connector.ConnectorMBean
-
Sets new heartbeat timeout (in milliseconds) or 0 to disable heartbeats.
- setInstance(MARSEventFactory) - Static method in class com.devexperts.mars.common.MARSEventFactory
-
- setIntValue(int) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new integer value of this node.
- setIntValue(int, long) - Method in class com.devexperts.mars.common.MARSNode
-
- setListener(ConnectionAdapterListener) - Method in interface com.devexperts.connector.ConnectionAdapter
-
Sets new listener to receive notifications about connection adapter state changes.
- setListener(MARSListener) - Method in class com.devexperts.mars.common.MARSAgent
-
Sets new listener to receive notifications.
- setListener(ConnectionAdapterListener) - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
-
- setReadBufferLimit(int) - Method in class com.devexperts.mars.common.net.MARSConnector
-
Sets new limit of read buffer at which connection is closed.
- setReconnectionPeriod(int) - Method in class com.devexperts.connector.Connector
-
- setReconnectionPeriod(int) - Method in interface com.devexperts.connector.ConnectorMBean
-
Sets new reconnection period (in milliseconds) or 0 for immediate reconnect.
- setRoot(MARSNode) - Static method in class com.devexperts.mars.common.MARSNode
-
- setSize(int) - Method in class com.devexperts.mars.common.net.MARSBuffer
-
Sets new number of payload characters in the buffer.
- setSkewFactor(double) - Method in class com.devexperts.connector.Connector
-
- setSkewFactor(double) - Method in interface com.devexperts.connector.ConnectorMBean
-
Sets new skew factor in a range [0,1].
- setStatus(String) - Method in class com.devexperts.mars.common.MARSNode
-
- setStatus(MARSStatus) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new status of this node; does nothing if null is specified.
- setStatus(MARSStatus, long) - Method in class com.devexperts.mars.common.MARSNode
-
- setStatus(MARSStatus, String) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new status of this node; does nothing if marsStatus == null is specified.
- setStatus(MARSStatus, String, long) - Method in class com.devexperts.mars.common.MARSNode
-
- setTimeValue(long, long) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new time value of this node using system default time zone.
- setTimeValue(long) - Method in class com.devexperts.mars.common.MARSNode
-
- setTimeValue(long, TimeZone, long) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new time value of this node using specified time zone.
NOTE: method is synchronized because date formatters are not thread-safe in general.
- setTimeValue(long, TimeZone) - Method in class com.devexperts.mars.common.MARSNode
-
- setValue(String, String, long) - Method in class com.devexperts.mars.common.MARS
-
- setValue(String, String) - Method in class com.devexperts.mars.common.MARS
-
Sets new value for specified parameter.
- setValue(String) - Method in class com.devexperts.mars.common.MARSNode
-
Sets new unparsed value of this node; does nothing if null is specified.
- setValue(String, long) - Method in class com.devexperts.mars.common.MARSNode
-
- SocketAddress - Class in com.devexperts.connector
-
Stores prepared (parsed or resolved) host-port pairs.
- SocketAddress(String, String, int) - Constructor for class com.devexperts.connector.SocketAddress
-
- SocketAddress(String, String, int, String) - Constructor for class com.devexperts.connector.SocketAddress
-
- start() - Method in interface com.devexperts.connector.ConnectionAdapter
-
Starts this connection adapter.
- start() - Method in class com.devexperts.connector.Connector
-
- start() - Method in interface com.devexperts.connector.ConnectorMBean
-
Starts this connector.
- start() - Method in interface com.devexperts.mars.common.MARSPlugin
-
- start() - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
-
- start() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- STATUS - Static variable in interface com.devexperts.mars.common.MARSConstants
-
- STATUS_NAMES - Static variable in class com.devexperts.mars.common.MARSStatus
-
- stop() - Method in class com.devexperts.connector.Connector
-
- stop() - Method in interface com.devexperts.connector.ConnectorMBean
-
Stops this connector and closes all open connections.
- stop() - Method in interface com.devexperts.mars.common.MARSPlugin
-
- stop() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
-
- subNode(String) - Method in class com.devexperts.mars.common.MARSNode
-
Returns subnode for specified subname applied to this node.
- subNode(String, String) - Method in class com.devexperts.mars.common.MARSNode
-
Returns subnode for specified subname applied to this node with specified description.
- subNode(String, String, String) - Method in class com.devexperts.mars.common.MARSNode
-
Returns subnode for specified subname applied to this node with specified category and description.
- SUBSYSTEM - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
-
- supportsProperty(String) - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
-
Returns true if the corresponding property key is supported.
- SYS_PROPERTY_NO_ADV_STATISTICS - Static variable in class com.devexperts.connector.Connector
-