public interface CollisionContext
ComputeJobContinuation), then collection of held jobs will always be empty.
CollisionSpiwill manipulate these lists to make sure that only allowed number of jobs are running in parallel or waiting to be executed.
|Modifier and Type||Method and Description|
Gets ordered collection of collision contexts for jobs that are currently executing.
Gets collection of jobs that are currently in
Gets ordered collection of collision contexts for jobs that are currently waiting for execution.
null. Note that a newly arrived job, if any, will always be represented by the last item in this list.
This list is guaranteed not to change while
CollisionSpi.onCollision(CollisionContext) method is being executed.
heldstate. Job can enter
heldstate by calling
ComputeJobContinuation.holdcc()method at which point job will release all resources and will get suspended. If
job continuationsare not used, then this list will always be empty, but never