GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.collision.priorityqueue
Interface GridPriorityQueueCollisionSpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridPriorityQueueCollisionSpi

@GridMBeanDescription(value="MBean provides access to the priority queue collision SPI.")
public interface GridPriorityQueueCollisionSpiMBean
extends GridSpiManagementMBean

Management bean that provides access to the priority queue collision 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
 int getCurrentActiveJobsNumber()
          Gets current number of jobs that are being executed.
 int getCurrentWaitJobsNumber()
          Gets current number of jobs that wait for the execution.
 int getDefaultPriority()
          Gets default priority to use if a job does not have priority attribute set.
 int getParallelJobsNumber()
          Gets number of jobs that can be executed in parallel.
 String getPriorityAttributeKey()
          Gets key name of priority attribute.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

getCurrentWaitJobsNumber

@GridMBeanDescription(value="Number of jobs that wait for execution.")
int getCurrentWaitJobsNumber()
Gets current number of jobs that wait for the execution.

Returns:
Number of jobs that wait for execution.

getCurrentActiveJobsNumber

@GridMBeanDescription(value="Number of jobs that are being executed.")
int getCurrentActiveJobsNumber()
Gets current number of jobs that are being executed.

Returns:
Number of active jobs.

getParallelJobsNumber

@GridMBeanDescription(value="Number of jobs that can be executed in parallel.")
int getParallelJobsNumber()
Gets number of jobs that can be executed in parallel.

Returns:
Number of jobs that can be executed in parallel.

getPriorityAttributeKey

@GridMBeanDescription(value="Key name of priority attribute.")
String getPriorityAttributeKey()
Gets key name of priority attribute.

Returns:
Key name of priority attribute.

getDefaultPriority

@GridMBeanDescription(value="Default priority to use if a task does not have priority attribute set.")
int getDefaultPriority()
Gets default priority to use if a job does not have priority attribute set.

Returns:
Default priority to use if a task does not have priority attribute set.

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.