GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.failover.jobstealing
Interface GridJobStealingFailoverSpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridJobStealingFailoverSpi

@GridMBeanDescription(value="MBean that provides access to job stealing failover SPI configuration.")
public interface GridJobStealingFailoverSpiMBean
extends GridSpiManagementMBean

Management bean for GridJobStealingFailoverSpi.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

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

 

Method Summary
 int getMaximumFailoverAttempts()
          Gets maximum number of attempts to execute a failed job on another node.
 int getTotalFailoveredJobsCount()
          Get total number of jobs that were failed over including stolen ones.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getMaximumFailoverAttempts

@GridMBeanDescription(value="Maximum number of attempts to execute a failed job on another node.")
int getMaximumFailoverAttempts()
Gets maximum number of attempts to execute a failed job on another node. If job gets stolen and thief node exists then it is not considered as failed job. If not specified, GridJobStealingFailoverSpi.DFLT_MAX_FAILOVER_ATTEMPTS value will be used.

Returns:
Maximum number of attempts to execute a failed job on another node.

getTotalFailoveredJobsCount

@GridMBeanDescription(value="Total number of jobs that were failed over including stolen ones.")
int getTotalFailoveredJobsCount()
Get total number of jobs that were failed over including stolen ones.

Returns:
Total number of failed over jobs.

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.