class SerializationSchedule[ID] extends AnyRef
A case class for determining the ordering of instantaneous and time-spanning real-time events
- ID
event identifier type
- Alphabetic
- By Inheritance
- SerializationSchedule
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SerializationSchedule()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addEndEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration
Register the end of a time-spanning event
Register the end of a time-spanning event
- id
id of event
- ignoreIfExist
TRUE to ignore the request to add event if the event already exists
- returns
the elapsed duration since the schedule was created
-
def
addEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration
Register an instantaneous event
Register an instantaneous event
- id
id of event
- ignoreIfExist
TRUE to ignore the request to add event if the event already exists
- returns
the elapsed duration since the schedule was created
-
def
addStartEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration
Register the start of a time-spanning event
Register the start of a time-spanning event
- id
id of event
- ignoreIfExist
TRUE to ignore the request to add event if the event already exists
- returns
the elapsed duration since the schedule was created
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def debug(__debug: (ID) ⇒ Unit): (ID) ⇒ Unit
-
def
endEvents: Vector[EndEvent[ID]]
- returns
an unordered Vector of end events
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def eventMap: Map[ID, Event[ID]]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
happensBefore(id1: ID, id2: ID): Boolean
- returns
TRUE if the event id1 happened before event id2
- Exceptions thrown
java.lang.IllegalArgumentException
if id1 or id2 doesn't exist OR if id2 is not a time-spanning event
-
def
happensDuring(id1: ID, id2: ID): Boolean
- returns
TRUE if the event id1 happened during time-spanning event id2
- Exceptions thrown
java.lang.IllegalArgumentException
if id1 or id2 doesn't exist OR if id2 is not a time-spanning event
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
orderedEvents: Vector[Event[ID]]
- returns
a Vector of events ordered by their occurrence
-
def
startEvents: Vector[StartEvent[ID]]
- returns
an unordered Vector of start events
- val startTime_ns: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SerializationSchedule → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )