Class

scales.utils.io

DirectBufferPool

Related Doc: package io

Permalink

class DirectBufferPool extends SimpleUnboundedPool[ByteBuffer]

ByteBuffer.allocateDirect(bufferSize) backed pool

8k default buffer size with a pool reduction of 30

Linear Supertypes
SimpleUnboundedPool[ByteBuffer], Creator[ByteBuffer], Loaner[ByteBuffer], Pool[ByteBuffer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirectBufferPool
  2. SimpleUnboundedPool
  3. Creator
  4. Loaner
  5. Pool
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DirectBufferPool(bufferSize: Int = 8192, reduceSize: Int = 30)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bufferSize: Int

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create: ByteBuffer

    Permalink
    Definition Classes
    DirectBufferPoolCreator
  8. final def doCreate: ByteBuffer

    Permalink
    Definition Classes
    SimpleUnboundedPool
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def giveBack(t: ByteBuffer): Unit

    Permalink
    Definition Classes
    SimpleUnboundedPoolPool
  14. def grab: ByteBuffer

    Permalink
    Definition Classes
    SimpleUnboundedPoolPool
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. def loan[X](tThunk: (ByteBuffer) ⇒ X): X

    Permalink

    Performs a loan for you

    Performs a loan for you

    Definition Classes
    SimpleUnboundedPoolLoaner
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val reduceSize: Int

    Permalink
    Definition Classes
    DirectBufferPoolSimpleUnboundedPool
  22. val size: AtomicInteger

    Permalink
    Definition Classes
    SimpleUnboundedPool
  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 SimpleUnboundedPool[ByteBuffer]

Inherited from Creator[ByteBuffer]

Inherited from Loaner[ByteBuffer]

Inherited from Pool[ByteBuffer]

Inherited from AnyRef

Inherited from Any

Ungrouped