Boeing Simulation 3.1 API Specification

util
Interface PriorityEnqueueable


public interface PriorityEnqueueable

This class is wrapper class inteded to be used with the FairWeightedQueue structure. An thread wanting to enqueue an object may want to have the priority of that object determined by another object. Case in point would be a longer-lived object enqueueing a regular object and the priority of what it enqueues being based on the longer-lived object.

Version:
$Revision: 1.4 $
Author:
Dave Jurgens
, John Krettek

Method Summary
 Object getEnqueueable()
          Returns the object that will be enqueued.
 Object getEvaluationObject()
          Returns the object that will be used to evaluate the priority of the enqueued object.
 

Method Detail

getEvaluationObject

public Object getEvaluationObject()
Returns the object that will be used to evaluate the priority of the enqueued object.


getEnqueueable

public Object getEnqueueable()
Returns the object that will be enqueued.


Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.