@MXBeanDescription(value="MBean provides access to the priority queue collision SPI.") public interface PriorityQueueCollisionSpiMBean extends IgniteSpiManagementMBean
Modifier and Type | Method and Description |
---|---|
int |
getCurrentActiveJobsNumber()
Gets current number of jobs that are active, i.e.
|
int |
getCurrentHeldJobsNumber()
Gets number of currently
'held' jobs. |
int |
getCurrentRunningJobsNumber()
Gets number of currently running (not
'held ) jobs. |
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.
|
String |
getJobPriorityAttributeKey()
Gets key name of job priority attribute.
|
int |
getParallelJobsNumber()
Gets number of jobs that can be executed in parallel.
|
String |
getPriorityAttributeKey()
Gets key name of task priority attribute.
|
int |
getStarvationIncrement()
Gets value to increment job priority by every time a lower priority job gets
behind a higher priority job.
|
int |
getWaitingJobsNumber()
Maximum number of jobs that are allowed to wait in waiting queue.
|
boolean |
isStarvationPreventionEnabled()
Gets flag indicating whether job starvation prevention is enabled.
|
void |
setDefaultPriority(int priority)
Sets default priority to use if a job does not have priority attribute set.
|
void |
setParallelJobsNumber(int num)
Sets number of jobs that can be executed in parallel.
|
void |
setStarvationIncrement(int increment)
Sets value to increment job priority by every time a lower priority job gets
behind a higher priority job.
|
void |
setStarvationPreventionEnabled(boolean preventStarvation)
Sets flag indicating whether job starvation prevention is enabled.
|
void |
setWaitingJobsNumber(int num)
Maximum number of jobs that are allowed to wait in waiting queue.
|
getIgniteHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted
@MXBeanDescription(value="Number of jobs that wait for execution.") int getCurrentWaitJobsNumber()
@MXBeanDescription(value="Number of active jobs.") int getCurrentActiveJobsNumber()
'running + held'
jobs.@MXBeanDescription(value="Number of running jobs.") int getCurrentRunningJobsNumber()
'held
) jobs.'held
) jobs.@MXBeanDescription(value="Number of held jobs.") int getCurrentHeldJobsNumber()
'held'
jobs.'held'
jobs.@MXBeanDescription(value="Number of jobs that can be executed in parallel.") int getParallelJobsNumber()
@MXBeanDescription(value="Number of jobs that can be executed in parallel.") void setParallelJobsNumber(int num)
num
- Parallel jobs number.@MXBeanDescription(value="Maximum allowed number of waiting jobs.") int getWaitingJobsNumber()
@MXBeanDescription(value="Maximum allowed number of waiting jobs.") void setWaitingJobsNumber(int num)
num
- Maximium jobs number.@MXBeanDescription(value="Key name of task priority attribute.") String getPriorityAttributeKey()
@MXBeanDescription(value="Key name of job priority attribute.") String getJobPriorityAttributeKey()
@MXBeanDescription(value="Default priority to use if a task does not have priority attribute set.") int getDefaultPriority()
@MXBeanDescription(value="Default priority to use if a task does not have priority attribute set.") void setDefaultPriority(int priority)
priority
- default priority.@MXBeanDescription(value="Value to increment job priority by every time a lower priority job gets behind a higher priority job.") int getStarvationIncrement()
@MXBeanDescription(value="Value to increment job priority by every time a lower priority job gets behind a higher priority job.") void setStarvationIncrement(int increment)
increment
- Increment value.@MXBeanDescription(value="Flag indicating whether job starvation prevention is enabled.") boolean isStarvationPreventionEnabled()
@MXBeanDescription(value="Flag indicating whether job starvation prevention is enabled.") void setStarvationPreventionEnabled(boolean preventStarvation)
preventStarvation
- Flag indicating whether job starvation prevention is enabled.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023