GridGain™ 2.1.0
Java API Specification

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

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridJgroupsCommunicationSpi

@GridMBeanDescription(value="MBean that provides access to the JGroups communication SPI configuration.")
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.1.0

 

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, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getConfigurationFile

@GridMBeanDescription(value="Path to JGroups configuration file.")
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

@GridMBeanDescription(value="Channel address or null if channel is closed or unconnected.")
InetAddress getLocalAddress()
Gets JGroups channel local IP address.

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

getLocalPort

@GridMBeanDescription(value="Channel port or -1 if channel is closed or unconnected.")
int getLocalPort()
Gets JGroups channel local port number.

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

getSendTimeout

@GridMBeanDescription(value="Timeout to wait for responses.")
long getSendTimeout()
Gets time limit in milliseconds to wait for message acknowledgements from remote nodes.

Returns:
Timeout to wait for responses.

getGroupName

@GridMBeanDescription(value="JGroups group name.")
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

@GridMBeanDescription(value="JGroups stack name.")
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.1.0
Java API Specification

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