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. Session
  2. SessionSink
  3. Sink
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. def _full: Boolean

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

  10. def credit(delivery_credits: Int, size_credits: Int): Unit

  11. val credit_adder: CustomDispatchSource[(Int, Int), (Int, Int)]

  12. var delivery_credits: Int

  13. var enqueue_item_counter: Long

    The number of elements accepted by this session.

    The number of elements accepted by this session.

    Definition Classes
    SessionSessionSink
  14. 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
  15. 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
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    Sink
  20. def full: Boolean

    returns

    true if the sink is full

    Definition Classes
    SessionSink
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

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

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

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

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. 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
  29. val overflow: LinkedList[T]

  30. val overflow_node: SessionLinkedNode[T]

  31. val producer_queue: DispatchQueue

  32. 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
  33. var rejection_handler: (T) ⇒ Unit

  34. 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
  35. var size_bonus: Int

  36. var size_credits: Int

  37. val source: CustomDispatchSource[(T, Boolean), ListBuffer[(T, Boolean)]]

  38. var stall_counter: Int

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

    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SessionSink[T]

Inherited from Sink[T]

Inherited from AnyRef

Inherited from Any

Ungrouped