class TReusableMemoryTransport extends TTransport

A version of TMemoryTransport that allows for reuse in order to minimize object allocations.

Linear Supertypes
TTransport, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TReusableMemoryTransport
  2. TTransport
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TReusableMemoryTransport(baos: TByteArrayOutputStream)

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(): Unit
    Definition Classes
    TReusableMemoryTransport → TTransport → Closeable → AutoCloseable
  7. def consumeBuffer(arg0: Int): Unit
    Definition Classes
    TTransport
  8. def currentCapacity: Int

    Total bytes currently allowed in the struct.

    Total bytes currently allowed in the struct.

    Note: more writes beyond this length will cause the struct to grow.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def flush(): Unit
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])
  13. def getArray(): Array[Byte]
  14. def getBuffer(): Array[Byte]
    Definition Classes
    TTransport
  15. def getBufferPosition(): Int
    Definition Classes
    TTransport
  16. def getBytesRemainingInBuffer(): Int
    Definition Classes
    TTransport
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isOpen(): Boolean
    Definition Classes
    TReusableMemoryTransport → TTransport
  21. def length(): Int
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def numWrittenBytes: Int
  26. def open(): Unit
    Definition Classes
    TReusableMemoryTransport → TTransport
  27. def peek(): Boolean
    Definition Classes
    TTransport
  28. def read(into: Array[Byte], off: Int, len: Int): Int
    Definition Classes
    TReusableMemoryTransport → TTransport
  29. def readAll(arg0: Array[Byte], arg1: Int, arg2: Int): Int
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])
  30. def reset(): Unit

    Resets both reads and writes.

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def write(from: Array[Byte], off: Int, len: Int): Unit
    Definition Classes
    TReusableMemoryTransport → TTransport
  37. def write(arg0: Array[Byte]): Unit
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])

Inherited from TTransport

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped