GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.discovery.mule
Interface GridMuleDiscoverySpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridMuleDiscoverySpi

@GridMBeanDescription(value="MBean that provides access to Mule-based discovry SPI implementation.")
public interface GridMuleDiscoverySpiMBean
extends GridSpiManagementMBean

Management bean for GridMuleDiscoverySpi.



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 getComponentName()
          Gets name of the component registered in Mule.
 String getConfigurationFile()
          Gets either absolute or relative to GridGain installation home folder path to Mule XML configuration file.
 String getHandshakeEndpointUri()
          Gets component inbound endpoint URI for handshake.
 String getHeartbeatEndpointUri()
          Gets component inbound endpoint URI for heartbeats.
 long getHeartbeatFrequency()
          Gets delay between heartbeat requests.
 int getLeaveAttempts()
          Gets number of attempts to notify another nodes that this one is leaving grid.
 int getMaximumMissedHeartbeats()
          Gets number of heartbeat requests that could be missed before remote node is considered to be failed.
 int getRemoteNodeCount()
          Gets the number of remote nodes.
 Collection<UUID> getRemoteNodeIds()
          Gets collection of remote nodes' IDs.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getRemoteNodeIds

@GridMBeanDescription(value="Set of remote nodes IDs.")
Collection<UUID> getRemoteNodeIds()
Gets collection of remote nodes' IDs.

Returns:
Set of remote nodes IDs.

getRemoteNodeCount

@GridMBeanDescription(value="Number of remote nodes.")
int getRemoteNodeCount()
Gets the number of remote nodes.

Returns:
Number of remote nodes.

getConfigurationFile

@GridMBeanDescription(value="Absolute or relative to GridGain installation home folder path to Mule XML configuration file.")
String getConfigurationFile()
Gets either absolute or relative to GridGain installation home folder path to Mule XML configuration file.

Returns:
Path to Mule configuration file.

getComponentName

@GridMBeanDescription(value="Name of the component registered in Mule.")
String getComponentName()
Gets name of the component registered in Mule.

Returns:
Component name.

getHeartbeatEndpointUri

@GridMBeanDescription(value="Component inbound endpoint URI for heartbeats.")
String getHeartbeatEndpointUri()
Gets component inbound endpoint URI for heartbeats.

Returns:
Inbound endpoint URI.

getHandshakeEndpointUri

@GridMBeanDescription(value="Component inbound endpoint URI for handshake.")
String getHandshakeEndpointUri()
Gets component inbound endpoint URI for handshake.

Returns:
Inbound endpoint URI.

getHeartbeatFrequency

@GridMBeanDescription(value="Delay between heartbeat requests in milliseconds.")
long getHeartbeatFrequency()
Gets delay between heartbeat requests. SPI sends broadcast messages in configurable time interval to another nodes to notify them about node state.

Returns:
Time period in milliseconds.

getMaximumMissedHeartbeats

@GridMBeanDescription(value="Number of heartbeat requests that could be missed before remote node is considered to be failed.")
int getMaximumMissedHeartbeats()
Gets number of heartbeat requests that could be missed before remote node is considered to be failed.

Returns:
Number of requests.

getLeaveAttempts

@GridMBeanDescription(value="Number of attempts to notify another nodes that this one is leaving grid.")
int getLeaveAttempts()
Gets number of attempts to notify another nodes that this one is leaving grid. Multiple leave requests are sent to increase the chance of successful delivery to every node.

Returns:
Number of attempts.

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.