Skip navigation links
A C D E F G H I J L M N O P R S T U V W 

A

acquire() - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
 
adapterClosed(ConnectionAdapter) - Method in interface com.devexperts.connector.ConnectionAdapterListener
Invoked to notify that specified ConnectionAdapter was closed.
ANY - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 

C

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
Creates and returns new ConnectionAdapter for specified Socket.
This method may block if required.
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
 

D

dataAvailable(ConnectionAdapter) - Method in interface com.devexperts.connector.ConnectionAdapterListener
Invoked to notify that specified ConnectionAdapter has data available for writing.
DESCRIPTION - Static variable in interface com.devexperts.mars.common.MARSConstants
 
DISCONNECTED_STATE - Static variable in interface com.devexperts.connector.ConnectorStates
 

E

ensureCapacity(int) - Method in class com.devexperts.mars.common.net.MARSBuffer
Reallocates buffer to ensure that it has required total capacity.
equals(Object) - Method in class com.devexperts.connector.SocketAddress
 
equals(Object) - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
 
ERROR - Static variable in class com.devexperts.mars.common.MARSStatus
 
errorOccured(String, Throwable) - Method in interface com.devexperts.connector.ConnectorListener
Will be called when error occurs.
ESTABLISHED_STATE - Static variable in interface com.devexperts.connector.ConnectorStates
 

F

Factory() - Constructor for class com.devexperts.mars.common.MARSPlugin.Factory
 
find(String) - Static method in class com.devexperts.mars.common.MARSStatus
Returns status embedded in the specified string by matching it's prefix with known statuses.
fireConnectorListenerProcessing(String, Throwable, String) - Method in class com.devexperts.connector.Connector
 
forceGarbageCollection() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
 
forceGarbageCollection() - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
Forces GC via System.gc() call
forClass(MARSNode, Class<? extends T>) - Static method in class com.devexperts.mars.common.MARSMonitoredBean
Analyzes a given bean class, creates corresponding MARS nodes, and returns an instance of MARSMonitoredBean.
forInstance(MARSNode, T) - Static method in class com.devexperts.mars.common.MARSMonitoredBean
Analyzes a given bean instance, creates corresponding MARS nodes, and returns an instance of MARSMonitoredBean.
formatAddress(String, String, int) - Static method in class com.devexperts.connector.SocketAddress
 
formatAddress(String, String, int, String) - Static method in class com.devexperts.connector.SocketAddress
 

G

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
Returns a default instance of MARS endpoint that is automatically configured from system properties MARS_ROOT_PROPERTY and MARS_ADDRESS_PROPERTY.
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
Returns original user-specified value of MARSNode.MARS_ROOT_PROPERTY.
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.

H

hashCode() - Method in class com.devexperts.connector.SocketAddress
 
hashCode() - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
 

I

info(String) - Method in interface com.devexperts.connector.ConnectorListener
 
isAdvancedStatEnabled - Static variable in class com.devexperts.connector.Connector
 
isCategoryEvent() - Method in class com.devexperts.mars.common.MARSEvent
 
isDescriptionEvent() - Method in class com.devexperts.mars.common.MARSEvent
 
isStatusEvent() - Method in class com.devexperts.mars.common.MARSEvent
 
isValueEvent() - Method in class com.devexperts.mars.common.MARSEvent
 

J

JVMSelfMonitoring - Class in com.devexperts.mars.jvm
Monitors vital JVM statistics and publishes them into MARS.
JVMSelfMonitoring(MARSNode) - Constructor for class com.devexperts.mars.jvm.JVMSelfMonitoring
 
JVMSelfMonitoring.PluginFactory - Class in com.devexperts.mars.jvm
 
JVMSelfMonitoringMXBean - Interface in com.devexperts.mars.jvm
Management interface for JVMSelfMonitoring class.

L

log(String, Throwable, String) - Method in class com.devexperts.connector.Connector
Logs specified message and error if not null.
log(String, Throwable, boolean, String) - Method in class com.devexperts.connector.Connector
Logs specified message and error if not null.

M

makeThreadDumps(int, String, String, String) - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
 
makeThreadDumps(int, String, String, String) - Method in interface com.devexperts.mars.jvm.JVMSelfMonitoringMXBean
Makes a number of period thread dumps to a specified file with s specified period
MARS - Class in com.devexperts.mars.common
The instance of MARS system that defines and maintains individual tree of MARS parameters.
MARS() - Constructor for class com.devexperts.mars.common.MARS
 
MARS_ADDRESS_PROPERTY - Static variable in class com.devexperts.mars.common.MARSNode
 
MARS_DELAY - Static variable in class com.devexperts.mars.common.MARSScheduler
 
MARS_DELAY_PROPERTY - Static variable in class com.devexperts.mars.common.MARSScheduler
 
MARS_ROOT_PROPERTY - Static variable in class com.devexperts.mars.common.MARSNode
 
MARSAgent - Class in com.devexperts.mars.common
The agent attached to MARS instance to track, accumulate and retrieve all MARSEvent events.
MARSAgent(MARS) - Constructor for class com.devexperts.mars.common.MARSAgent
Creates new agent and attaches it to specified MARS instance.
MARSBuffer - Class in com.devexperts.mars.common.net
Buffer to read and write MARSEvent events.
MARSBuffer() - Constructor for class com.devexperts.mars.common.net.MARSBuffer
 
MARSCategoryConstants - Interface in com.devexperts.mars.common
 
marsChanged(MARSAgent) - Method in interface com.devexperts.mars.common.MARSListener
Invoked when specified MARSAgent has new MARSEvent events.
marsChanged(MARSAgent) - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
 
MARSConnectionAdapter - Class in com.devexperts.mars.common.net
Adapts single network connection to MARS instance.
MARSConnectionAdapter(MARS, MARSAgent, int, InputStream, OutputStream) - Constructor for class com.devexperts.mars.common.net.MARSConnectionAdapter
Creates new MARS connection adapter with specified parameters.
MARSConnector - Class in com.devexperts.mars.common.net
MARS connector manages single set of communication links (defined as address string) to send and receive MARS data over TCP/IP sockets.
MARSConnector(MARS, boolean, boolean) - Constructor for class com.devexperts.mars.common.net.MARSConnector
Creates new MARS connector for specified MARS instance and communication link direction.
MARSConstants - Interface in com.devexperts.mars.common
Common constants.
MARSEndpoint - Class in com.devexperts.mars.common
A container for MARS root and its connectors.
MARSEndpoint.Builder - Class in com.devexperts.mars.common
Builder that creates instances of MARSEndpoint objects.
MARSEvent - Class in com.devexperts.mars.common
The single event in a MARS system.
MARSEvent(String, String) - Constructor for class com.devexperts.mars.common.MARSEvent
Creates new instance of MARS event with specified parameters.
MARSEvent(String, String, long) - Constructor for class com.devexperts.mars.common.MARSEvent
 
MARSEventFactory - Class in com.devexperts.mars.common
 
MARSEventFactory() - Constructor for class com.devexperts.mars.common.MARSEventFactory
 
MARSListener - Interface in com.devexperts.mars.common
The listener attached to MARSAgent to receive notifications about new MARSEvent events.
MARSMonitoredBean<T> - Class in com.devexperts.mars.common
Represents an monitored instance of Java Bean with properties annotated by Object.
MARSMonitoredBean(List<MARSMonitoredBean.Prop>, T) - Constructor for class com.devexperts.mars.common.MARSMonitoredBean
 
MARSNode - Class in com.devexperts.mars.common
The convenient shortcut to a node in the MARS instance with utility methods.
MARSNode(MARS, String) - Constructor for class com.devexperts.mars.common.MARSNode
Creates new node for specified MARS instance and name.
MARSPlugin - Interface in com.devexperts.mars.common
Plugin that is attached to MARSEndpoint and provides extra information nodes.
MARSPlugin.Factory - Class in com.devexperts.mars.common
Factory for MARS Plugins that provide additional features for MARSEndpoint.
MARSScheduler - Class in com.devexperts.mars.common
Provides convenient execution scheduling services for periodic stats gathering, logging and reporting.
MARSStatus - Class in com.devexperts.mars.common
The officially recognized statuses of MARS node.
Immutable (implements the design pattern).
MODULE - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 

N

newBuilder() - Static method in class com.devexperts.mars.common.MARSEndpoint
Creates new MARSEndpoint.Builder instance.

O

OK - Static variable in class com.devexperts.mars.common.MARSStatus
 

P

PARAM_TYPE_CATEGORY - Static variable in class com.devexperts.mars.common.MARSEvent
 
PARAM_TYPE_DESCRIPTION - Static variable in class com.devexperts.mars.common.MARSEvent
 
PARAM_TYPE_STATUS - Static variable in class com.devexperts.mars.common.MARSEvent
 
PARAM_TYPE_VALUE - Static variable in class com.devexperts.mars.common.MARSEvent
 
PARAMETER - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
PLATFORM - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
PluginFactory() - Constructor for class com.devexperts.mars.jvm.JVMSelfMonitoring.PluginFactory
 
PRESET_CATEGORIES - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
PROJECT - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
props - Variable in class com.devexperts.mars.common.MARSEndpoint.Builder
 
putEvent(MARSEvent) - Method in class com.devexperts.mars.common.MARS
Puts new event to change corresponding parameter.
putEvents(Collection<MARSEvent>) - Method in class com.devexperts.mars.common.MARS
Puts collection of events to change corresponding parameters.

R

readData() - Method in interface com.devexperts.connector.ConnectionAdapter
Performs single blocking read operation from connection (network socket).
readData() - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
 
readEvents() - Method in class com.devexperts.mars.common.net.MARSBuffer
Reads and removes all complete MARSEvent events from the buffer.
release() - Method in class com.devexperts.mars.common.MARSEndpoint
 
remove() - Method in class com.devexperts.mars.common.MARSNode
 
removeAuthenticEvents(Collection<MARSEvent>) - Method in class com.devexperts.mars.common.MARS
Removes collection of authentic events as if they were never put before.
removeChars(int) - Method in class com.devexperts.mars.common.net.MARSBuffer
Removes first n characters from the buffer.
REMOVED - Static variable in class com.devexperts.mars.common.MARSStatus
 
restart() - Method in class com.devexperts.connector.Connector
 
restart() - Method in interface com.devexperts.connector.ConnectorMBean
Restarts this connector by calling ConnectorMBean.stop() and ConnectorMBean.start() methods in succession.
retrieveEvents() - Method in class com.devexperts.mars.common.MARSAgent
Retrieves all MARSEvent events accumulated by this agent.
You can use returned the collection as you want.
run() - Method in class com.devexperts.mars.common.MARSMonitoredBean
Updates values of the MARS nodes.
run() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
 

S

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
Deprecated.
Use "-Dmars.root=<name>" in your JVM options
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
 

T

TASK - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
toString() - Method in class com.devexperts.connector.Connector
 
toString() - Method in class com.devexperts.connector.SocketAddress
 
toString() - Method in class com.devexperts.mars.common.MARSEvent
 
toString(MARSEvent) - Static method in class com.devexperts.mars.common.MARSEvent
 
toString() - Method in class com.devexperts.mars.common.MARSNode
 
toString() - Method in interface com.devexperts.mars.common.MARSPlugin
 
toString() - Method in class com.devexperts.mars.common.MARSStatus
 
toString(MARSStatus) - Static method in class com.devexperts.mars.common.MARSStatus
Returns the string representation of the MARSStatus argument.
toString() - Method in class com.devexperts.mars.jvm.JVMSelfMonitoring
 

U

UNDEFINED - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
UNDEFINED - Static variable in class com.devexperts.mars.common.MARSStatus
 
UNLISTED - Static variable in interface com.devexperts.mars.common.MARSCategoryConstants
 
update(T) - Method in class com.devexperts.mars.common.MARSMonitoredBean
Updates values of the nodes using the corresponding instance.

V

VALUE - Static variable in interface com.devexperts.mars.common.MARSConstants
 
valueOf(String) - Static method in class com.devexperts.connector.SocketAddress
 

W

WARNING - Static variable in class com.devexperts.mars.common.MARSStatus
 
watch(Object, MARSNode) - Static method in class com.devexperts.mars.common.MARSScheduler
Watches specified object and reports it's Object.toString() value into specified MARS node with default MARS period.
watchDelta(Number, MARSNode) - Static method in class com.devexperts.mars.common.MARSScheduler
Watches specified number and reports it's delta into specified MARS node with default MARS period.
watchSize(Collection<?>, MARSNode) - Static method in class com.devexperts.mars.common.MARSScheduler
Watches specified collection and reports it's size into specified MARS node with default MARS period.
watchTimeRate(Number, double, int, MARSNode) - Static method in class com.devexperts.mars.common.MARSScheduler
Watches specified number and reports it's rate of change per second into specified MARS node with default MARS period.
withProperties(Properties) - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
Sets all supported properties from the provided properties object.
withProperty(String, String) - Method in class com.devexperts.mars.common.MARSEndpoint.Builder
Sets the specified property.
writeChars(char[], int, int) - Method in class com.devexperts.mars.common.net.MARSBuffer
Writes specified characters to the end of the buffer.
writeData() - Method in interface com.devexperts.connector.ConnectionAdapter
Performs single blocking write operation into connection (network socket).
writeData() - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
 
writeEvents(Collection<MARSEvent>) - Method in class com.devexperts.mars.common.net.MARSBuffer
Writes specified MARSEvent events to the end of the buffer.
writeHeartbeat() - Method in interface com.devexperts.connector.ConnectionAdapter
Performs single blocking write operation into connection (network socket) of special heartbeat packet as specified by communication protocol.
writeHeartbeat() - Method in class com.devexperts.mars.common.net.MARSConnectionAdapter
 
writeString(String) - Method in class com.devexperts.mars.common.net.MARSBuffer
Writes specified string to the end of the buffer.
A C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2002–2025 Devexperts LLC. All rights reserved.