Packages

final case class Session(scenario: String, userId: Long, attributes: Map[String, Any], baseStatus: Status, blockStack: List[Block], onExit: (Session) => Unit, eventLoop: EventLoop) extends LazyLogging with Product with Serializable

Session class representing the session passing through a scenario for a given user

This session stores all needed data between requests

scenario

the name of the current scenario

userId

the id of the current user

attributes

the map that stores all values needed

baseStatus

the status when not in a TryMax blocks hierarchy

blockStack

the block stack

onExit

hook to execute once the user reaches the exit

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Session
  2. Serializable
  3. Product
  4. Equals
  5. LazyLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Session(scenario: String, userId: Long, attributes: Map[String, Any], baseStatus: Status, blockStack: List[Block], onExit: (Session) => Unit, eventLoop: EventLoop)

    creates a new session

    creates a new session

    scenario

    the name of the current scenario

    userId

    the id of the current user

    attributes

    the map that stores all values needed

    baseStatus

    the status when not in a TryMax blocks hierarchy

    blockStack

    the block stack

    onExit

    hook to execute once the user reaches the exit

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(name: String): SessionAttribute
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val attributes: Map[String, Any]
  7. val baseStatus: Status
  8. val blockStack: List[Block]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def contains(attributeKey: String): Boolean
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. val eventLoop: EventLoop
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def groups: List[String]
  15. def isFailed: Boolean
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def logGroupRequestTimings(startTimestamp: Long, endTimestamp: Long): Session
  18. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  19. def loopCounterValue(counterName: String): Int
  20. def loopTimestampValue(counterName: String): Long
  21. def markAsFailed: Session
  22. def markAsSucceeded: Session
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val onExit: (Session) => Unit
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def remove(key: String): Session
  29. def removeAll(keys: String*): Session
  30. def reset: Session
  31. val scenario: String
  32. def set(key: String, value: Any): Session
  33. def setAll(newAttributes: Iterable[(String, Any)]): Session
  34. def setAll(newAttributes: (String, Any)*): Session
  35. def status: Status
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. val userId: Long
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped