Object/Class

com.metamx.tranquility.tranquilizer

Tranquilizer

Related Docs: class Tranquilizer | package tranquilizer

Permalink

object Tranquilizer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Tranquilizer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class Builder extends AnyRef

    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. val DefaultLingerMillis: Int

    Permalink
  5. val DefaultMaxBatchSize: Int

    Permalink
  6. val DefaultMaxPendingBatches: Int

    Permalink
  7. def apply[MessageType](beam: Beam[MessageType], maxBatchSize: Int = DefaultMaxBatchSize, maxPendingBatches: Int = DefaultMaxPendingBatches, lingerMillis: Long = DefaultLingerMillis): Tranquilizer[MessageType]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def builder(): Builder

    Permalink

    Returns a builder for creating Tranquilizer instances.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def create[MessageType](beam: Beam[MessageType], maxBatchSize: Int, maxPendingBatches: Int, lingerMillis: Long): Tranquilizer[MessageType]

    Permalink

    Wraps a Beam and exposes a single-message-future API.

    Wraps a Beam and exposes a single-message-future API. Thread-safe.

    beam

    The wrapped Beam.

    maxBatchSize

    Maximum number of messages to send at once.

    maxPendingBatches

    Maximum number of batches that may be in flight before we block and wait for one to finish.

    lingerMillis

    Wait this long for batches to collect more messages (up to maxBatchSize) before sending them. Set to zero to disable waiting.

  12. def create[MessageType](beam: Beam[MessageType]): Tranquilizer[MessageType]

    Permalink

    Wraps a Beam and exposes a single-message-future API.

    Wraps a Beam and exposes a single-message-future API. Thread-safe.

    beam

    The wrapped Beam.

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped