|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Apache20LicenseCompatible @GridMBeanDescription(value="MBean that provides access to Kernal information.") public interface GridKernalMBean
This interface defines JMX view on kernal.
See Also:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0
![]() |
![]() |
| Method Summary | |
|---|---|
String |
executeTask(String taskName,
String arg)
A shortcut method that executes given task assuming single java.lang.String argument and java.lang.String return type. |
String |
getCheckpointSpiFormatted()
Gets a formatted instance of configured checkpoint SPI implementation. |
String |
getCollisionSpiFormatted()
Gets a formatted instance of configured collision SPI implementation. |
String |
getCommunicationSpiFormatted()
Gets a formatted instance of fully configured SPI communication implementation. |
String |
getCopyright()
Gets copyright statement for GridGain product. |
String |
getDeploymentSpiFormatted()
Gets a formatted instance of fully configured deployment SPI implementation. |
String |
getDiscoverySpiFormatted()
Gets a formatted instance of configured discovery SPI implementation. |
String |
getEventStorageSpiFormatted()
Gets a formatted instance of fully configured event SPI implementation. |
String |
getExecutorServiceFormatted()
Gets a formatted instance of fully configured thread pool that is used in grid. |
String |
getFailoverSpiFormatted()
Gets a formatted instance of fully configured failover SPI implementation. |
String |
getGridGainHome()
Gets GridGain installation home folder. |
String |
getGridLoggerFormatted()
Gets a formatted instance of logger that is in grid. |
String |
getInstanceName()
Gets optional kernal instance name. |
String |
getJdkInformation()
Gets JDK information. |
String |
getLicenseFilePath()
Gets file path of the license. |
Collection<String> |
getLifecycleBeansFormatted()
Gets toString() representation of of lifecycle beans configured with GridGain. |
String |
getLoadBalancingSpiFormatted()
Gets a formatted instance of fully configured load balancing SPI implementation. |
UUID |
getLocalNodeId()
Unique identifier for this node within grid. |
String |
getMBeanServerFormatted()
Gets a formatted instance of MBean server instance. |
String |
getMetricsSpiFormatted()
Gets a formatted instance of fully configured local metrics SPI implementation. |
String |
getOsInformation()
Gets OS information. |
String |
getOsUser()
Gets OS user. |
long |
getStartTimestamp()
Get start timestamp of the kernal. |
String |
getStartTimestampFormatted()
Gets string presentation of the kernal start timestamp. |
String |
getTopologySpiFormatted()
Gets a formatted instance of fully configured topology SPI implementation. |
String |
getTracingSpiFormatted()
Gets a formatted instance of fully configured tracing SPI implementation. |
long |
getUpTime()
Gets up-time of the kernal. |
String |
getUpTimeFormatted()
Gets string presentation of up-time for the kernal. |
Collection<String> |
getUserAttributesFormatted()
Gets a collection of formatted user-defined attributes added to this node. |
String |
getVersion()
Gets string presentation of the version. |
String |
getVmName()
Gets VM name. |
boolean |
isPeerClassLoadingEnabled()
Returns true if peer class loading is enabled, false otherwise. |
boolean |
pingNode(String nodeId)
Pings node with given node ID to see whether it is alive. |
boolean |
pingNodeByAddress(String host)
Pings node with given host name to see if it is alive. |
boolean |
removeCheckpoint(String key)
This method allows manually remove the checkpoint with given key. |
void |
undeployTaskFromGrid(String taskName)
Makes the best attempt to undeploy a task from the whole grid. |
| Method Detail |
|---|
@GridMBeanDescription(value="File path of the license.") String getLicenseFilePath()
@GridMBeanDescription(value="String presentation of the GridGain version.") String getVersion()
@GridMBeanDescription(value="Copyright statement for GridGain product.") String getCopyright()
@GridMBeanDescription(value="String presentation of the kernal start timestamp.") String getStartTimestampFormatted()
@GridMBeanDescription(value="String presentation of up-time for the kernal.") String getUpTimeFormatted()
@GridMBeanDescription(value="Start timestamp of the kernal.") long getStartTimestamp()
@GridMBeanDescription(value="Up-time of the kernal.") long getUpTime()
@GridMBeanDescription(value="Collection of formatted user-defined attributes added to this node.") Collection<String> getUserAttributesFormatted()
Note that grid will add all System properties and environment properties to grid node attributes also. SPI's may also add node attributes that are used for SPI implementation.
@GridMBeanDescription(value="Formatted instance of logger that is in grid.") String getGridLoggerFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured thread pool that is used in grid.") String getExecutorServiceFormatted()
@GridMBeanDescription(value="GridGain installation home folder.") String getGridGainHome()
@GridMBeanDescription(value="Formatted instance of MBean server instance.") String getMBeanServerFormatted()
@GridMBeanDescription(value="Unique identifier for this node within grid.") UUID getLocalNodeId()
@GridMBeanDescription(value="Whether or not peer class loading (a.k.a. P2P class loading) is enabled.") boolean isPeerClassLoadingEnabled()
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.
@GridMBeanDescription(value="String representation of lifecycle beans.") Collection<String> getLifecycleBeansFormatted()
@GridMBeanDescription(value="This method allows manually remove the checkpoint with given key. Return true if specified checkpoint was indeed removed, false otherwise.") @GridMBeanParametersNames(value="key") @GridMBeanParametersDescriptions(value="Checkpoint key to remove.") boolean removeCheckpoint(String key)
key - Checkpoint key.
@GridMBeanDescription(value="Pings node with given node ID to see whether it is alive. Returns whether or not node is alive.") @GridMBeanParametersNames(value="nodeId") @GridMBeanParametersDescriptions(value="String presentation of node ID. See java.util.UUID class for details.") boolean pingNode(String nodeId)
nodeId - String presentation of node ID. See UUID.fromString(String) for
details on string formatting.
@GridMBeanDescription(value="Makes the best attempt to undeploy a task from the whole grid.")
@GridMBeanParametersNames(value="taskName")
@GridMBeanParametersDescriptions(value="Name of the task to undeploy.")
void undeployTaskFromGrid(String taskName)
throws JMException
Note that GridGain 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.
JMException - Thrown if undeploy failed.taskName - Name of the task to undeploy. If task class has GridTaskName annotation,
then task was deployed under a name specified within annotation. Otherwise, full
class name should be used as task's name.
@GridMBeanDescription(value="A shortcut method that executes given task assuming single String argument and String return type. Returns Task return value (assumed of String type).")
@GridMBeanParametersNames(value={"taskName","arg"})
@GridMBeanParametersDescriptions(value={"Name of the task to execute.","Single task execution argument (can be null)."})
String executeTask(String taskName,
String arg)
throws JMException
JMException - Thrown in case when execution failed.taskName - Name of the task to execute.arg - Single task execution argument (can be null).
@GridMBeanDescription(value="Pings node with given host name to see if it is alive. Returns whether or not node is alive.") @GridMBeanParametersNames(value="host") @GridMBeanParametersDescriptions(value="Host name or IP address of the node to ping.") boolean pingNodeByAddress(String host)
host - Host name or IP address of the node to ping.
@GridMBeanDescription(value="Formatted instance of configured discovery SPI implementation.") String getDiscoverySpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured SPI communication implementation.") String getCommunicationSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured deployment SPI implementation.") String getDeploymentSpiFormatted()
@GridMBeanDescription(value="Formatted instance of configured checkpoint SPI implementation.") String getCheckpointSpiFormatted()
@GridMBeanDescription(value="Formatted instance of configured collision SPI implementation.") String getCollisionSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured event SPI implementation.") String getEventStorageSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured failover SPI implementation.") String getFailoverSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured load balancing SPI implementation.") String getLoadBalancingSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured topology SPI implementation.") String getTopologySpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured local metrics SPI implementation.") String getMetricsSpiFormatted()
@GridMBeanDescription(value="Formatted instance of fully configured tracing SPI implementation.") String getTracingSpiFormatted()
@GridMBeanDescription(value="OS information.") String getOsInformation()
@GridMBeanDescription(value="JDK information.") String getJdkInformation()
@GridMBeanDescription(value="OS user name.") String getOsUser()
@GridMBeanDescription(value="VM name.") String getVmName()
@GridMBeanDescription(value="Optional kernal instance name.") String getInstanceName()
|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|