public interface SimQueueStateHandler
DefaultSimQueueState.
For a more detailed description of the rationale and architecture of extensions to a DefaultSimQueueState,
see the description of WorkloadScheduleHandler for DefaultWorkloadSchedule.
Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Modifier and Type | Method and Description |
|---|---|
String |
getHandlerName()
Returns the name of the handler.
|
void |
initHandler(DefaultSimQueueState queueState)
Initializes the handler, and passes the
DefaultSimQueueState object. |
void |
resetHandler(DefaultSimQueueState queueState)
Resets the (state represented by) this handler.
|
String getHandlerName()
The handler name must be unique within the realm of the DefaultSimQueueState at which this
handler registers. For SimQueue state extensions, the convention is to use
the interface name appended with "Handler", like, "SimQueueHandler" and "SimQueueWithGateHandler".
void initHandler(DefaultSimQueueState queueState)
DefaultSimQueueState object.
This method is called only once during registration at the DefaultSimQueueState object.
queueState - The DefaultSimQueueState at which we register, non-null.DefaultSimQueueState.registerHandler(org.javades.jqueues.r5.util.predictor.state.SimQueueStateHandler)void resetHandler(DefaultSimQueueState queueState)
queueState - The DefaultSimQueueState at which we are registered, non-null.SimQueueState.reset(),
DefaultSimQueueState.reset()Copyright © 2018. All rights reserved.