Class

akka.util

MessageBufferMap

Related Doc: package util

Permalink

final class MessageBufferMap[I] extends AnyRef

A non thread safe mutable message buffer map that can be used to buffer messages inside actors.

I

(Id type)

Source
MessageBuffer.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageBufferMap
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MessageBufferMap()

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to any2stringadd[MessageBufferMap[I]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MessageBufferMap[I], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to ArrowAssoc[MessageBufferMap[I]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def add(id: I): Unit

    Permalink

    Add an id to the buffer map

  7. def append(id: I, message: Any, ref: ActorRef): Unit

    Permalink

    Append an element to the buffer for an id.

    Append an element to the buffer for an id.

    id

    the id to add the element to

    message

    the message to buffer

    ref

    the actor to buffer

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. def contains(id: I): Boolean

    Permalink

    Check if the buffer map contains an id.

    Check if the buffer map contains an id.

    id

    the id to check for

    returns

    if the buffer contains the given id

  11. def ensuring(cond: (MessageBufferMap[I]) ⇒ Boolean, msg: ⇒ Any): MessageBufferMap[I]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to Ensuring[MessageBufferMap[I]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (MessageBufferMap[I]) ⇒ Boolean): MessageBufferMap[I]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to Ensuring[MessageBufferMap[I]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): MessageBufferMap[I]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to Ensuring[MessageBufferMap[I]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): MessageBufferMap[I]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to Ensuring[MessageBufferMap[I]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def forEach(f: Procedure2[I, MessageBuffer]): Unit

    Permalink

    Java API

    Java API

    Iterate over all elements of the buffer map and apply a function to each element.

    f

    the function to apply to each element

  18. def foreach(f: (I, MessageBuffer) ⇒ Unit): Unit

    Permalink

    Iterate over all elements of the buffer map and apply a function to each element.

    Iterate over all elements of the buffer map and apply a function to each element.

    f

    the function to apply to each element

  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to StringFormat[MessageBufferMap[I]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def getOrEmpty(id: I): MessageBuffer

    Permalink

    Get the message buffer for an id, or an empty buffer if the id doesn't exist in the map.

    Get the message buffer for an id, or an empty buffer if the id doesn't exist in the map.

    id

    the id to get the message buffer for

    returns

    the message buffer for the given id or an empty buffer if the id doesn't exist

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def isEmpty: Boolean

    Permalink

    Check if the buffer map is empty.

    Check if the buffer map is empty.

    returns

    if the buffer map is empty

  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  26. def nonEmpty: Boolean

    Permalink

    Check if the buffer map is not empty.

    Check if the buffer map is not empty.

    returns

    if the buffer map is not empty

  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def remove(id: I): Unit

    Permalink

    Remove the buffer for an id.

    Remove the buffer for an id.

    id

    the id to remove the buffer for

  30. def size: Int

    Permalink

    How many ids are in the buffer map.

    How many ids are in the buffer map.

    returns

    the number of ids in the buffer map

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def totalSize: Int

    Permalink

    How many elements are in the buffers in the buffer map.

    How many elements are in the buffers in the buffer map.

    returns

    the number of elements in the buffers in the buffer map

  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (MessageBufferMap[I], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MessageBufferMap[I] to ArrowAssoc[MessageBufferMap[I]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MessageBufferMap[I] to any2stringadd[MessageBufferMap[I]]

Inherited by implicit conversion StringFormat from MessageBufferMap[I] to StringFormat[MessageBufferMap[I]]

Inherited by implicit conversion Ensuring from MessageBufferMap[I] to Ensuring[MessageBufferMap[I]]

Inherited by implicit conversion ArrowAssoc from MessageBufferMap[I] to ArrowAssoc[MessageBufferMap[I]]

Ungrouped