aicas logoJamaicaVM 3.4 rel 9
RTSJ Implementation

javax.realtime
Class BoundAsyncEventHandler

java.lang.Object
  extended by javax.realtime.AsyncEventHandler
      extended by javax.realtime.BoundAsyncEventHandler
All Implemented Interfaces:
java.lang.Runnable, Schedulable

public class BoundAsyncEventHandler
extends AsyncEventHandler

Jamaica Realtime Specification for Java class BoundAsyncEventHandler.

An instance of this class behaves exaclty as an instance of AsyncEventHandler, with the only difference being that this instance will have its own instance of RealtimeThread or NoHeapRealtimeThread associated to it.

An instance of BoundAsyncEventHandler should be used in preference to a normal AsyncEventHandler if the added timeliness by not sharing a thread with other handlers is required. A handler that may block should be of this class since it might otherwise prevent the execution of other async event handlers that may require the same shared thread.

As long as all handlers with equal priority parameters do not block during their execution, there is no need to use BoundAsyncEventHandler for this since several threads of the same priority might block one another.


Constructor Summary
BoundAsyncEventHandler()
          Constructor
BoundAsyncEventHandler(SchedulingParameters scheduling, ReleaseParameters release, MemoryParameters memory, MemoryArea area, ProcessingGroupParameters group, boolean nonheap, java.lang.Runnable logic)
          Constructor
 
Method Summary
 
Methods inherited from class javax.realtime.AsyncEventHandler
addIfFeasible, addToFeasibility, finalize, getAndClearPendingFireCount, getAndDecrementPendingFireCount, getAndIncrementPendingFireCount, getMemoryArea, getMemoryParameters, getPendingFireCount, getProcessingGroupParameters, getReleaseParameters, getScheduler, getSchedulingParameters, handleAsyncEvent, isDaemon, removeFromFeasibility, run, setDaemon, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setMemoryParameters, setMemoryParametersIfFeasible, setProcessingGroupParameters, setProcessingGroupParametersIfFeasible, setReleaseParameters, setReleaseParametersIfFeasible, setScheduler, setScheduler, setSchedulingParameters, setSchedulingParametersIfFeasible
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundAsyncEventHandler

public BoundAsyncEventHandler()
Constructor


BoundAsyncEventHandler

public BoundAsyncEventHandler(SchedulingParameters scheduling,
                              ReleaseParameters release,
                              MemoryParameters memory,
                              MemoryArea area,
                              ProcessingGroupParameters group,
                              boolean nonheap,
                              java.lang.Runnable logic)
Constructor

Parameters:
scheduling -
release -
memory -
area -
group -
nonheap -
logic -

aicas logoJamaicaVM 3.4 rel 9
RTSJ Implementation

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.