GridGain™ 2.0.3
Java API Specification

org.gridgain.grid.spi.discovery.jgroups
Interface GridJgroupsDiscoverySpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridJgroupsDiscoverySpi

public interface GridJgroupsDiscoverySpiMBean
extends GridSpiManagementMBean

Management bean for GridJgroupsDiscoverySpi.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

 

Method Summary
 String getConfigurationFile()
          Gets either absolute or relative to GridGain installation home folder path to JGroups XML configuration file.
 String getGroupName()
          Gets JGroups group name.
 long getJoinTimeout()
          Gets time limit in milliseconds to wait for message responses from remote nodes.
 String getLocalHost()
          Gets JGroups channel local IP address.
 int getLocalPort()
          Gets JGroups channel local port number.
 long getMetricsFrequency()
          Gets delay between metrics requests.
 int getRemoteNodeCount()
          Gets the number of remote nodes.
 Collection<UUID> getRemoteNodeIds()
          Gets set of remote nodes' IDs.
 String getStackName()
          Gets JGroups stack name.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getRemoteNodeIds

Collection<UUID> getRemoteNodeIds()
Gets set of remote nodes' IDs.

Returns:
Set of remote nodes IDs.

getRemoteNodeCount

int getRemoteNodeCount()
Gets the number of remote nodes.

Returns:
Number of remote nodes.

getConfigurationFile

String getConfigurationFile()
Gets either absolute or relative to GridGain installation home folder path to JGroups XML configuration file.

Returns:
Path to JGroups configuration file.

getLocalHost

String getLocalHost()
Gets JGroups channel local IP address.

Returns:
Channel address or null if channel is closed or unconnected.

getLocalPort

int getLocalPort()
Gets JGroups channel local port number.

Returns:
Channel port or -1 if channel is closed or unconnected.

getJoinTimeout

long getJoinTimeout()
Gets time limit in milliseconds to wait for message responses from remote nodes.

Returns:
Timeout to wait for responses.

getGroupName

String getGroupName()
Gets JGroups group name. In order to communicate with each other nodes must have the same group name.

Returns:
JGroups group name.

getStackName

String getStackName()
Gets JGroups stack name. In order to use multiplexor over the same channel SPIs must have the same stack name. Stack name is a name of configuration in the configuration file.

Returns:
JGroups group name.

getMetricsFrequency

long getMetricsFrequency()
Gets delay between metrics requests. SPI sends broadcast messages in configurable time interval to another nodes to notify them about node metrics.

Returns:
Time period in milliseconds.

GridGain™ 2.0.3
Java API Specification

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