Interface IgniteMXBean
-
@MXBeanDescription("MBean that provides access to Kernal information.") public interface IgniteMXBean
This interface defines JMX view on kernal.
-
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanactive()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.active" instead.voidactive(boolean active)Deprecated.UseclusterState(String, boolean)instead.voidclearNodeLocalMap()Clears node local map.StringclusterState()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.clusterState" instead.voidclusterState(String state)Deprecated.UseclusterState(String, boolean)instead.voidclusterState(String state, boolean forceDeactivation)Changes current cluster state.voiddumpDebugInfo()Dumps debug information for the current node.StringexecuteTask(String taskName, String arg)A shortcut method that executes given task assuming singlejava.lang.Stringargument andjava.lang.Stringreturn type.StringgetCheckpointSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.checkpointSpiFormatted" instead.StringgetCollisionSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.collisionSpiFormatted" instead.StringgetCommunicationSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.communicationSpiFormatted" instead.StringgetCopyright()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.copyright" instead.StringgetCurrentCoordinatorFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.currentCoordinatorFormatted" instead.StringgetDeploymentSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.deploymentSpiFormatted" instead.StringgetDiscoverySpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.discoverySpiFormatted" instead.StringgetEventStorageSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.eventStorageSpiFormatted" instead.StringgetExecutorServiceFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.executorServiceFormatted" instead.StringgetFailoverSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.failoverSpiFormatted" instead.StringgetFullVersion()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.fullVersion" instead.StringgetGridLoggerFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.gridLoggerFormatted" instead.StringgetIgniteHome()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.igniteHome" instead.StringgetInstanceName()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.InstanceName" instead.StringgetJdkInformation()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.jdkInformation" instead.List<String>getLifecycleBeansFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.lifecycleBeansFormatted" instead.StringgetLoadBalancingSpiFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.loadBalancingSpiFormatted" instead.UUIDgetLocalNodeId()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.localNodeId" instead.Map<Long,Long>getLongJVMPauseLastEvents()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPauseLastEvents" instead.longgetLongJVMPausesCount()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPausesCount" instead.longgetLongJVMPausesTotalDuration()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPausesTotalDuration" instead.StringgetMBeanServerFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.mBeanServerFormatted" instead.StringgetOsInformation()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.osInformation" instead.StringgetOsUser()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.osUser" instead.longgetStartTimestamp()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.startTimestamp" instead.StringgetStartTimestampFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.startTimestampFormatted" instead.longgetUpTime()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.upTime" instead.StringgetUpTimeFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.uptimeFormatted" instead.List<String>getUserAttributesFormatted()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.userAttributesFormatted" instead.StringgetVmName()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.VmName" instead.booleanisNodeInBaseline()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isNodeInBaseline" instead.booleanisPeerClassLoadingEnabled()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isPeerClassLoadingEnabled" instead.booleanisRebalanceEnabled()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isRebalanceEnabled" instead.longlastClusterStateChangeTime()Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.lastClusterStateChangeTime" instead.booleanpingNode(String nodeId)Pings node with given node ID to see whether it is alive.booleanpingNodeByAddress(String host)Pings node with given host name to see if it is alive.voidprintLastErrors()Prints errors.voidrebalanceEnabled(boolean rebalanceEnabled)Enable or disable cache partition rebalance per node.booleanremoveCheckpoint(String key)This method allows manually remove the checkpoint with givenkey.voidrunIoTest(long warmup, long duration, int threads, long maxLatency, int rangesCnt, int payLoadSize, boolean procFromNioThread)Runs IO latency test against all remote server nodes in cluster.voidundeployTaskFromGrid(String taskName)Makes the best attempt to undeploy a task from the whole grid.
-
-
-
Field Detail
-
FULL_VER_DESC
static final String FULL_VER_DESC
- See Also:
- Constant Field Values
-
COPYRIGHT_DESC
static final String COPYRIGHT_DESC
- See Also:
- Constant Field Values
-
START_TIMESTAMP_FORMATTED_DESC
static final String START_TIMESTAMP_FORMATTED_DESC
- See Also:
- Constant Field Values
-
IS_REBALANCE_ENABLED_DESC
static final String IS_REBALANCE_ENABLED_DESC
- See Also:
- Constant Field Values
-
UPTIME_FORMATTED_DESC
static final String UPTIME_FORMATTED_DESC
- See Also:
- Constant Field Values
-
START_TIMESTAMP_DESC
static final String START_TIMESTAMP_DESC
- See Also:
- Constant Field Values
-
UPTIME_DESC
static final String UPTIME_DESC
- See Also:
- Constant Field Values
-
LONG_JVM_PAUSES_CNT_DESC
static final String LONG_JVM_PAUSES_CNT_DESC
- See Also:
- Constant Field Values
-
LONG_JVM_PAUSES_TOTAL_DURATION_DESC
static final String LONG_JVM_PAUSES_TOTAL_DURATION_DESC
- See Also:
- Constant Field Values
-
LONG_JVM_PAUSE_LAST_EVENTS_DESC
static final String LONG_JVM_PAUSE_LAST_EVENTS_DESC
- See Also:
- Constant Field Values
-
USER_ATTRS_FORMATTED_DESC
static final String USER_ATTRS_FORMATTED_DESC
- See Also:
- Constant Field Values
-
GRID_LOG_FORMATTED_DESC
static final String GRID_LOG_FORMATTED_DESC
- See Also:
- Constant Field Values
-
EXECUTOR_SRVC_FORMATTED_DESC
static final String EXECUTOR_SRVC_FORMATTED_DESC
- See Also:
- Constant Field Values
-
IGNITE_HOME_DESC
static final String IGNITE_HOME_DESC
- See Also:
- Constant Field Values
-
MBEAN_SERVER_FORMATTED_DESC
static final String MBEAN_SERVER_FORMATTED_DESC
- See Also:
- Constant Field Values
-
LOC_NODE_ID_DESC
static final String LOC_NODE_ID_DESC
- See Also:
- Constant Field Values
-
IS_PEER_CLS_LOADING_ENABLED_DESC
static final String IS_PEER_CLS_LOADING_ENABLED_DESC
- See Also:
- Constant Field Values
-
LIFECYCLE_BEANS_FORMATTED_DESC
static final String LIFECYCLE_BEANS_FORMATTED_DESC
- See Also:
- Constant Field Values
-
ACTIVE_DESC
static final String ACTIVE_DESC
- See Also:
- Constant Field Values
-
DISCOVERY_SPI_FORMATTED_DESC
static final String DISCOVERY_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
COMMUNICATION_SPI_FORMATTED_DESC
static final String COMMUNICATION_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
DEPLOYMENT_SPI_FORMATTED_DESC
static final String DEPLOYMENT_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
CHECKPOINT_SPI_FORMATTED_DESC
static final String CHECKPOINT_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
COLLISION_SPI_FORMATTED_DESC
static final String COLLISION_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
EVT_STORAGE_SPI_FORMATTED_DESC
static final String EVT_STORAGE_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
FAILOVER_SPI_FORMATTED_DESC
static final String FAILOVER_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
LOAD_BALANCING_SPI_FORMATTED_DESC
static final String LOAD_BALANCING_SPI_FORMATTED_DESC
- See Also:
- Constant Field Values
-
OS_INFO_DESC
static final String OS_INFO_DESC
- See Also:
- Constant Field Values
-
JDK_INFO_DESC
static final String JDK_INFO_DESC
- See Also:
- Constant Field Values
-
OS_USER_DESC
static final String OS_USER_DESC
- See Also:
- Constant Field Values
-
VM_NAME_DESC
static final String VM_NAME_DESC
- See Also:
- Constant Field Values
-
INSTANCE_NAME_DESC
static final String INSTANCE_NAME_DESC
- See Also:
- Constant Field Values
-
CUR_COORDINATOR_FORMATTED_DESC
static final String CUR_COORDINATOR_FORMATTED_DESC
- See Also:
- Constant Field Values
-
IS_NODE_BASELINE_DESC
static final String IS_NODE_BASELINE_DESC
- See Also:
- Constant Field Values
-
LAST_CLUSTER_STATE_CHANGE_TIME_DESC
static final String LAST_CLUSTER_STATE_CHANGE_TIME_DESC
- See Also:
- Constant Field Values
-
CLUSTER_STATE_DESC
static final String CLUSTER_STATE_DESC
- See Also:
- Constant Field Values
-
READ_ONLY_MODE_DESC
static final String READ_ONLY_MODE_DESC
- See Also:
- Constant Field Values
-
READ_ONLY_MODE_DURATION_DESC
static final String READ_ONLY_MODE_DURATION_DESC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFullVersion
@Deprecated @MXBeanDescription("String presentation of the Ignite version.") String getFullVersion()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.fullVersion" instead.Gets string presentation of the version.- Returns:
- String presentation of the version.
-
getCopyright
@Deprecated @MXBeanDescription("Copyright statement for Ignite product.") String getCopyright()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.copyright" instead.Gets copyright statement for Ignite product.- Returns:
- Copyright statement for Ignite product.
-
getStartTimestampFormatted
@Deprecated @MXBeanDescription("Start timestamp of the kernal.") String getStartTimestampFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.startTimestampFormatted" instead.Gets string presentation of the kernal start timestamp.- Returns:
- String presentation of the kernal start timestamp.
-
isRebalanceEnabled
@Deprecated @MXBeanDescription("Rebalance enabled flag.") boolean isRebalanceEnabled()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isRebalanceEnabled" instead.Gets rebalance enabled flag.- Returns:
- Rebalance enabled flag.
-
rebalanceEnabled
@MXBeanParametersDescriptions({"Enable cache partitions rebalance on node.","Disable cache partitions rebalance on node."}) void rebalanceEnabled(boolean rebalanceEnabled)
Enable or disable cache partition rebalance per node.- Parameters:
rebalanceEnabled- Iftruethen set rebalance to enabled state.
-
getUpTimeFormatted
@Deprecated @MXBeanDescription("String presentation of up-time for the kernal.") String getUpTimeFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.uptimeFormatted" instead.Gets string presentation of up-time for the kernal.- Returns:
- String presentation of up-time for the kernal.
-
getStartTimestamp
@Deprecated @MXBeanDescription("Start timestamp of the kernal.") long getStartTimestamp()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.startTimestamp" instead.Get start timestamp of the kernal.- Returns:
- Start timestamp of the kernal.
-
getUpTime
@Deprecated @MXBeanDescription("Up-time of the kernal.") long getUpTime()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.upTime" instead.Gets up-time of the kernal.- Returns:
- Up-time of the kernal.
-
getLongJVMPausesCount
@Deprecated @MXBeanDescription("Long JVM pauses count.") long getLongJVMPausesCount()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPausesCount" instead.Gets long JVM pauses count.- Returns:
- Long JVM pauses count.
-
getLongJVMPausesTotalDuration
@Deprecated @MXBeanDescription("Long JVM pauses total duration.") long getLongJVMPausesTotalDuration()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPausesTotalDuration" instead.Gets long JVM pauses total duration.- Returns:
- Long JVM pauses total duration.
-
getLongJVMPauseLastEvents
@Deprecated @MXBeanDescription("Long JVM pause last events.") Map<Long,Long> getLongJVMPauseLastEvents()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.longJVMPauseLastEvents" instead.Gets long JVM pause last events.- Returns:
- Long JVM pause last events.
-
getUserAttributesFormatted
@Deprecated @MXBeanDescription("Collection of formatted user-defined attributes added to this node.") List<String> getUserAttributesFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.userAttributesFormatted" instead.Gets a list of formatted user-defined attributes added to this node.Note that grid will add all System properties and environment properties to grid node attributes also. SPIs may also add node attributes that are used for SPI implementation.
- Returns:
- User defined attributes for this node.
-
getGridLoggerFormatted
@Deprecated @MXBeanDescription("Formatted instance of logger that is in grid.") String getGridLoggerFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.gridLoggerFormatted" instead.Gets a formatted instance of logger that is in grid.- Returns:
- Logger that is used in grid.
-
getExecutorServiceFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured thread pool that is used in grid.") String getExecutorServiceFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.executorServiceFormatted" instead.Gets a formatted instance of fully configured thread pool that is used in grid.- Returns:
- Thread pool implementation that is used in grid.
-
getIgniteHome
@Deprecated @MXBeanDescription("Ignite installation home folder.") String getIgniteHome()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.igniteHome" instead.Gets Ignite installation home folder.- Returns:
- Ignite installation home.
-
getMBeanServerFormatted
@Deprecated @MXBeanDescription("Formatted instance of MBean server instance.") String getMBeanServerFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.mBeanServerFormatted" instead.Gets a formatted instance of MBean server instance.- Returns:
- MBean server instance.
-
getLocalNodeId
@Deprecated @MXBeanDescription("Unique identifier for this node within grid.") UUID getLocalNodeId()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.localNodeId" instead.Unique identifier for this node within grid.- Returns:
- Unique identifier for this node within grid.
-
isPeerClassLoadingEnabled
@Deprecated @MXBeanDescription("Whether or not peer class loading (a.k.a. P2P class loading) is enabled.") boolean isPeerClassLoadingEnabled()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isPeerClassLoadingEnabled" instead.Returnstrueif peer class loading is enabled,falseotherwise. Default value istrue.When peer class loading is enabled and task is not deployed on local node, local node will try to load classes from the node that initiated task execution. This way, a task can be physically deployed only on one node and then internally penetrate to all other nodes.
- Returns:
trueif peer class loading is enabled,falseotherwise.
-
getLifecycleBeansFormatted
@Deprecated @MXBeanDescription("String representation of lifecycle beans.") List<String> getLifecycleBeansFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.lifecycleBeansFormatted" instead.GetstoString()representation of of lifecycle beans configured with Ignite.- Returns:
toString()representation of all lifecycle beans configured with Ignite.
-
removeCheckpoint
@MXBeanDescription("This method allows manually remove the checkpoint with given key. Return true if specified checkpoint was indeed removed, false otherwise.") boolean removeCheckpoint(@MXBeanParameter(name="key",description="Checkpoint key to remove.") String key)
This method allows manually remove the checkpoint with givenkey.- Parameters:
key- Checkpoint key.- Returns:
trueif specified checkpoint was indeed removed,falseotherwise.
-
pingNode
@MXBeanDescription("Pings node with given node ID to see whether it is alive. Returns whether or not node is alive.") boolean pingNode(@MXBeanParameter(name="nodeId",description="String presentation of node ID. See java.util.UUID class for details.") String nodeId)
Pings node with given node ID to see whether it is alive.- Parameters:
nodeId- String presentation of node ID. SeeUUID.fromString(String)for details on string formatting.- Returns:
- Whether or not node is alive.
-
active
@Deprecated @MXBeanDescription("Execute activate or deactivate process.") @MXBeanParametersNames("active") void active(boolean active) throws JMException
Deprecated.UseclusterState(String, boolean)instead.Changes Ignite grid state to active or inactive.NOTE: Deactivation clears in-memory caches (without persistence) including the system caches.
- Parameters:
active- Activate/DeActivate flag.- Throws:
JMException- if deactivation is forbidden or stopped.
-
active
@Deprecated @MXBeanDescription("Checks Ignite grid is active or is not active.") boolean active()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.active" instead.Checks if Ignite grid is active. If Ignite grid is not active returnFalse.- Returns:
Trueif grid is active.FalseIf grid is not active.
-
undeployTaskFromGrid
@MXBeanDescription("Makes the best attempt to undeploy a task from the whole grid.") void undeployTaskFromGrid(@MXBeanParameter(name="taskName",description="Name of the task to undeploy.") String taskName) throws JMException
Makes the best attempt to undeploy a task from the whole grid. Note that this method returns immediately and does not wait until the task will actually be undeployed on every node.Note that Ignite maintains internal versions for grid tasks in case of redeployment. This method will attempt to undeploy all versions on the grid task with given name.
- Parameters:
taskName- Name of the task to undeploy. If task class hasComputeTaskNameannotation, then task was deployed under a name specified within annotation. Otherwise, full class name should be used as task's name.- Throws:
JMException- Thrown if undeploy failed.
-
executeTask
@MXBeanDescription("A shortcut method that executes given task assuming single String argument and String return type. Returns Task return value (assumed of String type).") String executeTask(@MXBeanParameter(name="taskName",description="Name of the task to execute.") String taskName, @MXBeanParameter(name="arg",description="Single task execution argument (can be null).") String arg) throws JMException
A shortcut method that executes given task assuming singlejava.lang.Stringargument andjava.lang.Stringreturn type.- Parameters:
taskName- Name of the task to execute.arg- Single task execution argument (can benull).- Returns:
- Task return value (assumed of
java.lang.Stringtype). - Throws:
JMException- Thrown in case when execution failed.
-
pingNodeByAddress
@MXBeanDescription("Pings node with given host name to see if it is alive. Returns whether or not node is alive.") boolean pingNodeByAddress(@MXBeanParameter(name="host",description="Host name or IP address of the node to ping.") String host) throws JMException
Pings node with given host name to see if it is alive.- Parameters:
host- Host name or IP address of the node to ping.- Returns:
- Whether or not node is alive.
- Throws:
JMException- When ping failed.
-
getDiscoverySpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of configured discovery SPI implementation.") String getDiscoverySpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.discoverySpiFormatted" instead.Gets a formatted instance of configured discovery SPI implementation.- Returns:
- Grid discovery SPI implementation.
-
getCommunicationSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured SPI communication implementation.") String getCommunicationSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.communicationSpiFormatted" instead.Gets a formatted instance of fully configured SPI communication implementation.- Returns:
- Grid communication SPI implementation.
-
getDeploymentSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured deployment SPI implementation.") String getDeploymentSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.deploymentSpiFormatted" instead.Gets a formatted instance of fully configured deployment SPI implementation.- Returns:
- Grid deployment SPI implementation.
-
getCheckpointSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of configured checkpoint SPI implementation.") String getCheckpointSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.checkpointSpiFormatted" instead.Gets a formatted instance of configured checkpoint SPI implementation.- Returns:
- Grid checkpoint SPI implementation.
-
getCollisionSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of configured collision SPI implementations.") String getCollisionSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.collisionSpiFormatted" instead.Gets a formatted instance of configured collision SPI implementations.- Returns:
- Grid collision SPI implementations.
-
getEventStorageSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured event SPI implementation.") String getEventStorageSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.eventStorageSpiFormatted" instead.Gets a formatted instance of fully configured event SPI implementation.- Returns:
- Grid event SPI implementation.
-
getFailoverSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured failover SPI implementations.") String getFailoverSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.failoverSpiFormatted" instead.Gets a formatted instance of fully configured failover SPI implementations.- Returns:
- Grid failover SPI implementations.
-
getLoadBalancingSpiFormatted
@Deprecated @MXBeanDescription("Formatted instance of fully configured load balancing SPI implementations.") String getLoadBalancingSpiFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.loadBalancingSpiFormatted" instead.Gets a formatted instance of fully configured load balancing SPI implementations.- Returns:
- Grid load balancing SPI implementations.
-
getOsInformation
@Deprecated @MXBeanDescription("OS information.") String getOsInformation()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.osInformation" instead.Gets OS information.- Returns:
- OS information.
-
getJdkInformation
@Deprecated @MXBeanDescription("JDK information.") String getJdkInformation()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.jdkInformation" instead.Gets JDK information.- Returns:
- JDK information.
-
getOsUser
@Deprecated @MXBeanDescription("OS user name.") String getOsUser()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.osUser" instead.Gets OS user.- Returns:
- OS user name.
-
getVmName
@Deprecated @MXBeanDescription("VM name.") String getVmName()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.VmName" instead.Gets VM name.- Returns:
- VM name.
-
getInstanceName
@Deprecated @MXBeanDescription("Optional kernal instance name.") String getInstanceName()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.InstanceName" instead.Gets optional kernal instance name. It can benull.- Returns:
- Optional kernal instance name.
-
printLastErrors
@MXBeanDescription("Prints last suppressed errors.") void printLastErrors()
Prints errors.
-
dumpDebugInfo
@MXBeanDescription("Dumps debug information for the current node.") void dumpDebugInfo()
Dumps debug information for the current node.
-
getCurrentCoordinatorFormatted
@Deprecated @MXBeanDescription("Formatted properties of current coordinator.") String getCurrentCoordinatorFormatted()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.currentCoordinatorFormatted" instead.Gets a formatted properties of current coordinator.- Returns:
- String representation of current coordinator node.
-
isNodeInBaseline
@Deprecated @MXBeanDescription("Baseline node flag.") boolean isNodeInBaseline()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.isNodeInBaseline" instead.Gets a flag whether local node is in baseline. Returns false if baseline topology is not established.- Returns:
- Return a baseline flag.
-
runIoTest
@MXBeanDescription("Runs IO latency test against all remote server nodes in cluster.") void runIoTest(@MXBeanParameter(name="warmup",description="Warmup duration (millis).") long warmup, @MXBeanParameter(name="duration",description="Test duration (millis).") long duration, @MXBeanParameter(name="threads",description="Threads count.") int threads, @MXBeanParameter(name="maxLatency",description="Maximum latency expected (nanos).") long maxLatency, @MXBeanParameter(name="rangesCnt",description="Ranges count for histogram.") int rangesCnt, @MXBeanParameter(name="payLoadSize",description="Payload size (bytes).") int payLoadSize, @MXBeanParameter(name="procFromNioThread",description="Process requests in NIO-threads flag.") boolean procFromNioThread)
Runs IO latency test against all remote server nodes in cluster.- Parameters:
warmup- Warmup duration in milliseconds.duration- Test duration in milliseconds.threads- Thread count.maxLatency- Max latency in nanoseconds.rangesCnt- Ranges count in resulting histogram.payLoadSize- Payload size in bytes.procFromNioThread-Trueto process requests in NIO threads.
-
clearNodeLocalMap
@MXBeanDescription("Clears local node map.") void clearNodeLocalMap()
Clears node local map.
-
clusterState
@Deprecated @MXBeanDescription("Checks cluster state.") String clusterState()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.clusterState" instead.Checks cluster state.- Returns:
- String representation of current cluster state.
See
ClusterState.
-
clusterState
@Deprecated @MXBeanDescription("Changes current cluster state.") void clusterState(@MXBeanParameter(name="state",description="New cluster state.") String state) throws JMException
Deprecated.UseclusterState(String, boolean)instead.Changes current cluster state.NOTE: Deactivation clears in-memory caches (without persistence) including the system caches.
- Parameters:
state- String representation of new cluster state.- Throws:
JMException- if deactivation is forbidden or stopped.
-
clusterState
@MXBeanDescription("Changes current cluster state.") void clusterState(@MXBeanParameter(name="state",description="New cluster state.") String state, @MXBeanParameter(name="forceDeactivation",description="If true, cluster deactivation will be forced.") boolean forceDeactivation) throws JMException
Changes current cluster state.NOTE: Deactivation clears in-memory caches (without persistence) including the system caches.
- Parameters:
state- String representation of new cluster state.forceDeactivation- Iftrue, cluster deactivation will be forced.- Throws:
JMException- if deactivation is forbidden or stopped.
-
lastClusterStateChangeTime
@Deprecated @MXBeanDescription("Unix time of last cluster state change operation.") long lastClusterStateChangeTime()
Deprecated.Check theReadOnlyMetricRegistrywith "name=ignite.lastClusterStateChangeTime" instead.Gets last cluster state change operation.- Returns:
- Unix time of last cluster state change operation.
-
-