Packages

c

scales.utils.io

JVMBufferPool

class JVMBufferPool extends SimpleUnboundedPool[ByteBuffer]

ByteBuffer.allocate(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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JVMBufferPool
  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 JVMBufferPool(bufferSize: Int = 8192, reduceSize: Int = 30)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bufferSize: Int
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def create: ByteBuffer
    Definition Classes
    JVMBufferPoolCreator
  8. final def doCreate: ByteBuffer
    Definition Classes
    SimpleUnboundedPool
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def giveBack(t: ByteBuffer): Unit
    Definition Classes
    SimpleUnboundedPoolPool
  14. def grab: ByteBuffer
    Definition Classes
    SimpleUnboundedPoolPool
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def loan[X](tThunk: (ByteBuffer) ⇒ X): X

    Performs a loan for you

    Performs a loan for you

    Definition Classes
    SimpleUnboundedPoolLoaner
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val reduceSize: Int
    Definition Classes
    JVMBufferPoolSimpleUnboundedPool
  22. val size: AtomicInteger
    Definition Classes
    SimpleUnboundedPool
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from SimpleUnboundedPool[ByteBuffer]

Inherited from Creator[ByteBuffer]

Inherited from Loaner[ByteBuffer]

Inherited from Pool[ByteBuffer]

Inherited from AnyRef

Inherited from Any

Ungrouped