akka

util

package util

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. class BoundedBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with BlockingQueue[E]

    BoundedBlockingQueue wraps any Queue and turns the result into a BlockingQueue with a limited capacity.

    BoundedBlockingQueue wraps any Queue and turns the result into a BlockingQueue with a limited capacity.

    E

    - The type of the contents of this Queue

  2. abstract class ByteIterator extends BufferedIterator[Byte]

    An iterator over a ByteString.

  3. sealed abstract class ByteString extends IndexedSeq[Byte] with IndexedSeqOptimized[Byte, ByteString]

    A rope-like immutable data structure containing bytes.

    A rope-like immutable data structure containing bytes. The goal of this structure is to reduce copying of arrays when concatenating and slicing sequences of bytes, and also providing a thread safe way of working with bytes.

    TODO: Add performance characteristics

  4. final class ByteStringBuilder extends Builder[Byte, ByteString]

    A mutable builder for efficiently creating a akka.util.ByteString.

    A mutable builder for efficiently creating a akka.util.ByteString.

    The created ByteString is not automatically compacted.

  5. class ClassLoaderObjectInputStream extends ObjectInputStream

    ClassLoaderObjectInputStream tries to utilize the provided ClassLoader to load Classes and falls back to ObjectInputStreams resolver.

  6. sealed abstract class CompactByteString extends ByteString with Serializable

    A compact ByteString.

    A compact ByteString.

    The ByteString is guarantied to be contiguous in memory and to use only as much memory as required for its contents.

  7. class ConcurrentMultiMap[K, V] extends Index[K, V]

    An implementation of a ConcurrentMultiMap Adds/remove is serialized over the specified key Reads are fully concurrent <-- el-cheapo

  8. class Index[K, V] extends AnyRef

    An implementation of a ConcurrentMultiMap Adds/remove is serialized over the specified key Reads are fully concurrent <-- el-cheapo

  9. final class ReentrantGuard extends ReentrantLock

  10. trait Subclassification[K] extends AnyRef

    Typeclass which describes a classification hierarchy.

    Typeclass which describes a classification hierarchy. Observe the contract between isEqual and isSubclass!

  11. class Switch extends AnyRef

    An atomic switch that can be either on or off

  12. case class Timeout(duration: FiniteDuration) extends Product with Serializable

    Annotations
    @SerialVersionUID()
  13. final class Unsafe extends AnyRef

Value Members

  1. object BoxedType

  2. object ByteIterator

  3. object ByteString

  4. object CompactByteString extends Serializable

  5. object Crypt

  6. object HashCode

    Set of methods which allow easy implementation of hashCode.

    Set of methods which allow easy implementation of hashCode.

    Example:

     override def hashCode: Int = {
       var result = HashCode.SEED
       //collect the contributions of various fields
       result = HashCode.hash(result, fPrimitive)
       result = HashCode.hash(result, fObject)
       result = HashCode.hash(result, fArray)
       result
     }
    

  7. object Helpers

  8. object Timeout extends Serializable

    A Timeout is a wrapper on top of Duration to be more specific about what the duration means.

Ungrouped