Class/Object

s_mach.concurrent.util

SerializationSchedule

Related Docs: object SerializationSchedule | package util

Permalink

class SerializationSchedule[ID] extends AnyRef

A case class for determining the ordering of instantaneous and time-spanning real-time events

ID

event identifier type

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SerializationSchedule
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SerializationSchedule()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEndEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration

    Permalink

    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

  5. def addEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration

    Permalink

    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

  6. def addStartEvent(id: ID, ignoreIfExist: Boolean = false): FiniteDuration

    Permalink

    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

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def debug(__debug: (ID) ⇒ Unit): (ID) ⇒ Unit

    Permalink
  10. def endEvents: Vector[EndEvent[ID]]

    Permalink

    returns

    an unordered Vector of end events

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def eventMap: Map[ID, Event[ID]]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def happensBefore(id1: ID, id2: ID): Boolean

    Permalink

    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

  17. def happensDuring(id1: ID, id2: ID): Boolean

    Permalink

    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

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def orderedEvents: Vector[Event[ID]]

    Permalink

    returns

    a Vector of events ordered by their occurrence

  24. def startEvents: Vector[StartEvent[ID]]

    Permalink

    returns

    an unordered Vector of start events

  25. val startTime_ns: Long

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    SerializationSchedule → AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped