public class BackgroundParameters extends ReleaseParameters<BackgroundParameters>
RealtimeThread.waitForNextRelease()
or have its
RealtimeThread.release()
methods called. Calling these methods
results in an IllegalThreadStateException
. Event handlers may not
use this type of ReleaseParameters
.DISABLE_MONITORING
Constructor and Description |
---|
BackgroundParameters()
A constructor for not having any restrictions on, or monitoring
of, scheduling.
|
BackgroundParameters(RelativeTime deadline,
AsyncEventHandler missHandler)
A constructor for deadline monitoring.
|
BackgroundParameters(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
A constructor for both cost and deadline monitoring.
|
clone, getCost, getCost, getCostOverrunHandler, getDeadline, getDeadline, getDeadlineMissHandler, getEventQueueOverflowPolicy, getInitialQueueLength, isRousable, setCost, setCostOverrunHandler, setDeadline, setDeadlineMissHandler, setEventQueueOverflowPolicy, setIfFeasible, setInitialQueueLength, setRousable
public BackgroundParameters(RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
StaticIllegalArgumentException
- when the time value of cost is less
than zero, or the time value of deadline is less than
or equal to zero, or the chronograph associated with the
cost
or deadline
parameters is not an instance
of Clock
.IllegalAssignmentError
- when cost, deadline,
overrunHandler, or missHandler cannot be stored in this.cost
- The maximum cost for executing the run methoddeadline
- The deadline for the completion of the run methodoverrunHandler
- The handler to call on cost overrun.missHandler
- The handler to call on deadline miss.public BackgroundParameters(RelativeTime deadline, AsyncEventHandler missHandler)
public BackgroundParameters()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2025 aicas GmbH. All Rights Reserved.