J - The type of job supported.@FunctionalInterface public static interface DefaultSimQueueState.PostStartHook<J extends SimJob>
DefaultSimQueueState.doStarts(double, java.util.Set<J>).SimQueue.AutoRevocationPolicy.UPON_START| Modifier and Type | Method and Description |
|---|---|
void |
hook(double time,
Set<J> starters,
Object userData)
Invokes the hook.
|
void hook(double time,
Set<J> starters,
Object userData)
throws SimQueuePredictionException
time - The start time of the job(s).starters - The set of jobs that just started.userData - The (optional) user data passed upon registration.SimQueuePredictionException - If the hook encounters an exception related to prediction.Copyright © 2018. All rights reserved.