Public Member Functions | Static Public Attributes

alma.ACS.jbaci.BACIPriority Class Reference

List of all members.

Public Member Functions

 BACIPriority (int value)
int getValue ()
int compareTo (Object o)

Static Public Attributes

static final int MAX_PRIORITY_VALUE = 0
static final int MIN_PRIORITY_VALUE = 1000
static final int MAX_REALTIME_PRIORITY_VALUE = MAX_PRIORITY_VALUE
static final int MIN_REALTIME_PRIORITY_VALUE = 99
static final int MAX_NORMAL_PRIORITY_VALUE = MIN_REALTIME_PRIORITY_VALUE + 1
static final int MIN_NORMAL_PRIORITY_VALUE = 899
static final int MAX_IDLE_PRIORITY_VALUE = MIN_NORMAL_PRIORITY_VALUE + 1
static final int MIN_IDLE_PRIORITY_VALUE = MIN_PRIORITY_VALUE
static final BACIPriority REALTIME
static final BACIPriority NORMAL
static final BACIPriority IDLE

Detailed Description

BACI priority. Priorities are defined as an interger value in range from 0 to 1000, where lower value means higher priority. There are 3 predifined classes of priorities:

Author:
Matej Sekoranja
Version:
$id$

Constructor & Destructor Documentation

alma.ACS.jbaci.BACIPriority.BACIPriority ( int  value  ) 

Member Function Documentation

int alma.ACS.jbaci.BACIPriority.compareTo ( Object  o  ) 
See also:
java.lang.Comparable.compareTo(java.lang.Object)

Referenced by alma.ACS.jbaci.PrioritizedRunnableComparator< T >.compare().

int alma.ACS.jbaci.BACIPriority.getValue (  ) 

Returns priority value.

Returns:
priority value.

Member Data Documentation

Maximal IDLE class priority value.

Maximal NORMAL class priority value.

Maximal priority value.

Referenced by alma.ACS.jbaci.BACIPriority.BACIPriority().

Maximal REALTIME class priority value.

Minimal IDLE class priority value.

Minimal NORMAL class priority value.

Minimal priority value.

Referenced by alma.ACS.jbaci.BACIPriority.BACIPriority().

Minimal REALTIME class priority value.

Initial value:

REALTIME priorty class.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties