GridGain™ 3.6.0e
Enterprise Edition

org.gridgain.grid.spi.discovery.multicast
Interface GridMulticastDiscoverySpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridMulticastDiscoverySpi

@GridMBeanDescription(value="MBean that provides access to IP-multicast based discovery SPI configuration.")
public interface GridMulticastDiscoverySpiMBean
extends GridSpiManagementMBean

Management bean for GridMulticastDiscoverySpi.

Wiki & Forum:


Wiki
Forum

 

Method Summary
 long getHeartbeatFrequency()
          Gets delay between heartbeat requests.
 int getHeartbeatThreadPriority()
          Gets heartbeat thread priority.
 int getLeaveAttempts()
          Gets number of attempts to notify another nodes that this one is leaving grid.
 int getLocalPortRange()
          Gets local port range for either TCP or multicast ports.
 int getMaximumMissedHeartbeats()
          Gets number of heartbeat requests that could be missed before remote node is considered to be failed.
 String getMulticastGroup()
          Gets IP address of multicast group.
 int getMulticastPort()
          Gets port number which multicast messages are sent to.
 int getRemoteNodeCount()
          Gets the number of remote nodes.
 Collection<UUID> getRemoteNodeIds()
          Gets set of remote nodes IDs that have READY state.
 int getSocketTimeout()
          Gets socket timeout.
 int getTcpPort()
          Gets local port number that is used by discovery SPI.
 int getTimeToLive()
          Gets messages time-to-live.
 boolean isCheckMulticastEnabled()
          By default this value is true.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getMulticastGroup

@GridMBeanDescription(value="IP address of multicast group.")
String getMulticastGroup()
Gets IP address of multicast group.

Returns:
Multicast IP address.

getMulticastPort

@GridMBeanDescription(value="Port number which multicast messages are sent to.")
int getMulticastPort()
Gets port number which multicast messages are sent to.

Returns:
Port number.

getTcpPort

@GridMBeanDescription(value="Local port number that is used by discovery SPI.")
int getTcpPort()
Gets local port number that is used by discovery SPI.

Returns:
Port number.

getLocalPortRange

@GridMBeanDescription(value="Local port range for either TCP or multicast ports.")
int getLocalPortRange()
Gets local port range for either TCP or multicast ports. See GridMulticastDiscoverySpi.setLocalPortRange(int) for details.

Returns:
Local port range

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.

getHeartbeatThreadPriority

@GridMBeanDescription(value="Heartbeat thread priority.")
int getHeartbeatThreadPriority()
Gets heartbeat thread priority.

Returns:
Heartbeat thread priority.

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. It might be impossible to send leaving request and node will try to do it several times.

Returns:
Number of retries.

getRemoteNodeIds

@GridMBeanDescription(value="Set of remote nodes IDs.")
Collection<UUID> getRemoteNodeIds()
Gets set of remote nodes IDs that have READY state.

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.

getTimeToLive

@GridMBeanDescription(value="Messages time-to-live.")
int getTimeToLive()
Gets messages time-to-live.

Returns:
Messages time-to-live.

isCheckMulticastEnabled

boolean isCheckMulticastEnabled()
By default this value is true. On startup GridGain will check if local node can receive multicast packets, and if not, will not allow the node to startup.

Returns:
checkMulticastEnabled True if multicast check is enabled, false otherwise.

getSocketTimeout

@GridMBeanDescription(value="Socket timeout.")
int getSocketTimeout()
Gets socket timeout.

Returns:
Socket timeout.

GridGain™ 3.6.0e
Enterprise Edition

GridGain - Real Time Big Data
Enterprise Edition, ver. 3.6.0e.13012012
2012 Copyright © GridGain Systems
Follow us:   Follow GridGain on Github Follow GridGain on Facebook Join GridGain User Group Follow GridGain on Twitter Follow GridGain on YouTube