org.apache.activemq.apollo.broker

Session

class Session [T] extends Sink[T] with SessionSink[T]

tracks one producer to consumer session / credit window.

Linear Supertypes
SessionSink[T], Sink[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Session
  2. SessionSink
  3. Sink
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Session (producer_queue: DispatchQueue, credits: Int, mux: SessionSinkMux[T])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def _full : Boolean

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def close (rejection_handler: (T) ⇒ Unit): Unit

  10. val credit_adder : CustomDispatchSource[Integer, Integer]

  11. var credits : Int

  12. var enqueue_item_counter : Long

    The number of elements accepted by this session.

    The number of elements accepted by this session.

    Definition Classes
    SessionSessionSink
  13. var enqueue_size_counter : Long

    The total size of the elements accepted by this session.

    The total size of the elements accepted by this session.

    Definition Classes
    SessionSessionSink
  14. var enqueue_ts : Long

    The total size of the elements accepted by this session.

    The total size of the elements accepted by this session.

    Definition Classes
    SessionSessionSink
  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def flatMap [Y] (func: (Y) ⇒ Option[T]): Sink[Y]

    Definition Classes
    Sink
  19. def full : Boolean

    returns

    true if the sink is full

    Definition Classes
    SessionSink
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def map [Y] (func: (Y) ⇒ T): Sink[Y]

    Definition Classes
    Sink
  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def offer (value: T): Boolean

    Attempts to add a value to the sink.

    Attempts to add a value to the sink. If the sink is full, this method will typically return false. The caller should try to offer the value again once the refiller is exectuted.

    returns

    true if the value was added.

    Definition Classes
    SessionSink
  28. val producer_queue : DispatchQueue

  29. var refiller : Task

    Sets a refiller on the sink.

    Sets a refiller on the sink. The refiller is executed when the sink is interested in receiving more deliveries.

    Definition Classes
    SessionSink
  30. def remaining_capacity : Int

    An estimate of the capacity left in the session before it stops accepting more elements.

    An estimate of the capacity left in the session before it stops accepting more elements.

    Definition Classes
    SessionSessionSink
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    AnyRef → Any
  33. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SessionSink[T]

Inherited from Sink[T]

Inherited from AnyRef

Inherited from Any