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 DefaultBlockOnFull: Boolean

    Permalink
  5. val DefaultLingerMillis: Long

    Permalink
  6. val DefaultMaxBatchSize: Int

    Permalink
  7. val DefaultMaxPendingBatches: Int

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

    Permalink
  9. final def asInstanceOf[T0]: T0

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

    Permalink

    Returns a builder for creating Tranquilizer instances.

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. 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.

    Does not support all options; for the full set of options, use a "builder".

    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.

  13. 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.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped