public abstract class AbstractSimJQ<J extends SimJob,Q extends SimQueue> extends AbstractSimEntity implements SimQoS<J,Q>
SimJob and a SimQueue.
This class implements event notifications
for SimQueue and SimJob common operations,
viz., arrival, drop, revocation, auto-revocation, start, and departure.
A SimQueue will automatically notify listeners on SimJobs about these operations.
For a more complete (though still partial) implementations of jobs, see AbstractSimJob.
For more complete (though still partial) implementations of queues, see AbstractSimQueue.
Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
SimJob,
SimQueue,
AbstractSimJob,
AbstractSimQueue,
SimJQSimpleEventTypeAbstractSimEntity.Notifier, AbstractSimEntity.PreNotificationHookSimEntity.Action, SimEntity.UnknownNotificationTypePolicy, SimEntity.UnknownOperationPolicyUSE_ARRAY_OPTIMIZATION| Constructor and Description |
|---|
AbstractSimJQ(org.javades.jsimulation.r5.SimEventList eventList)
Creates a new
AbstractSimJQ with given event list and null (initial) name. |
AbstractSimJQ(org.javades.jsimulation.r5.SimEventList eventList,
String name)
Creates a new
AbstractSimJQ with given event list and name. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
resetEntitySubClass()
Does nothing.
|
addPendingNotification, addPendingNotification, clearAndUnlockPendingNotificationsIfLocked, delegateOperation, doAfterNotifications, doOperation, fireAndLockPendingNotifications, getEventList, getLastUpdateTime, getRegisteredDelegatedOperations, getRegisteredNotificationTypes, getRegisteredOperations, getSimEntityListeners, getUnknownNotificationTypePolicy, getUnknownOperationPolicy, isIgnoreEventListReset, notifyEventListReset, registerDelegatedOperation, registerNotificationType, registerOperation, registerPreEventHook, registerPreNotificationHook, registerPreUpdateHook, registerSimEntityListener, registerStdOutSimEntityListener, removeDelegationForOperation, resetEntity, setIgnoreEventListReset, setName, setUnknownNotificationTypePolicy, setUnknownOperationPolicy, toString, toStringDefault, unregisterSimEntityListener, unregisterStdOutSimEntityListener, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetQoS, getQoSClasspublic AbstractSimJQ(org.javades.jsimulation.r5.SimEventList eventList,
String name)
AbstractSimJQ with given event list and name.
The constructor registers the notification types common to queues and jobs.
eventList - The event list to use, may be null for SimJobs.name - The name of the entity, may be null.IllegalArgumentException - If this object is neither a SimJob or a SimQueue,
or if it is both.AbstractSimEntity.getEventList(),
AbstractSimEntity.setName(java.lang.String)public AbstractSimJQ(org.javades.jsimulation.r5.SimEventList eventList)
AbstractSimJQ with given event list and null (initial) name.eventList - The event list, may be null.IllegalArgumentException - If this object is neither a SimJob or a SimQueue,
or if it is both.AbstractSimEntity.getEventList(),
AbstractSimEntity.setName(java.lang.String)protected void resetEntitySubClass()
resetEntitySubClass in class AbstractSimEntitySimEntity.resetEntity()Copyright © 2018. All rights reserved.