GridGain™ 2.0.3
Java API Specification

org.gridgain.grid.spi.communication.jgroups
Interface GridJgroupsCommunicationSpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridJgroupsCommunicationSpi

public interface GridJgroupsCommunicationSpiMBean
extends GridSpiManagementMBean

Management bean that provides read-only access to the JGroups communication SPI configuration..



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.
 InetAddress getLocalAddress()
          Gets JGroups channel local IP address.
 int getLocalPort()
          Gets JGroups channel local port number.
 long getSendTimeout()
          Gets time limit in milliseconds to wait for message acknowledgements from remote nodes.
 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

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.

getLocalAddress

InetAddress getLocalAddress()
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.

getSendTimeout

long getSendTimeout()
Gets time limit in milliseconds to wait for message acknowledgements 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.

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.