J - The type of SimJobs supported.Q - The type of SimQueues supported.P - The type used for QoS.public interface SimQueueOrJobQoS<J extends SimJob,Q extends SimQueue,P> extends SimEntity, SimQoS<J,Q>
SimEntity with explicit QoS support.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
SimEntity.Action, SimEntity.UnknownNotificationTypePolicy, SimEntity.UnknownOperationPolicy| Modifier and Type | Method and Description |
|---|---|
P |
getQoS()
Overridden in order to restrict the return type.
|
Class<? extends P> |
getQoSClass()
Overridden in order to restrict the return type.
|
default void |
setQoS(P qos)
Sets the QoS value.
|
default void |
setQoSClass(Class<? extends P> qosClass)
Sets the Java class used for QoS behavior.
|
doAfterNotifications, doOperation, getEventList, getLastUpdateTime, getRegisteredNotificationTypes, getRegisteredOperations, getSimEntityListeners, getUnknownNotificationTypePolicy, getUnknownOperationPolicy, isIgnoreEventListReset, registerSimEntityListener, resetEntity, setIgnoreEventListReset, setName, setUnknownNotificationTypePolicy, setUnknownOperationPolicy, toStringDefault, unregisterSimEntityListener, updateClass<? extends P> getQoSClass()
If the SimEntity does not support QoS, null should be returned.
The default implementation returns null.
default void setQoSClass(Class<? extends P> qosClass)
qosClass - The new Java class used for QoS behavior, may be null.UnsupportedOperationException - Always thrown by the default implementation.P getQoS()
If the SimEntity does not support QoS, null should be returned.
The value returned, if non-null must be an object of the class or interface
returned by SimQoS.getQoSClass().
The default implementation returns null.
default void setQoS(P qos)
qos - The new QoS value, may be null.UnsupportedOperationException - Always thrown by the default implementation.Copyright © 2018. All rights reserved.