com.twitter.scrooge

TReusableMemoryTransport

class TReusableMemoryTransport extends TTransport

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

Linear Supertypes
TTransport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TReusableMemoryTransport
  2. TTransport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TReusableMemoryTransport(baos: TByteArrayOutputStream)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

    Definition Classes
    TReusableMemoryTransport → TTransport
  9. def consumeBuffer(arg0: Int): Unit

    Definition Classes
    TTransport
  10. 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.

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flush(): Unit

    Definition Classes
    TTransport
    Annotations
    @throws( ... )
  15. def getArray(): Array[Byte]

  16. def getBuffer(): Array[Byte]

    Definition Classes
    TTransport
  17. def getBufferPosition(): Int

    Definition Classes
    TTransport
  18. def getBytesRemainingInBuffer(): Int

    Definition Classes
    TTransport
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

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

    Definition Classes
    Any
  22. def isOpen(): Boolean

    Definition Classes
    TReusableMemoryTransport → TTransport
  23. def length(): Int

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def numWrittenBytes: Int

  28. def open(): Unit

    Definition Classes
    TReusableMemoryTransport → TTransport
  29. def peek(): Boolean

    Definition Classes
    TTransport
  30. def read(into: Array[Byte], off: Int, len: Int): Int

    Definition Classes
    TReusableMemoryTransport → TTransport
  31. def readAll(arg0: Array[Byte], arg1: Int, arg2: Int): Int

    Definition Classes
    TTransport
    Annotations
    @throws( ... )
  32. def reset(): Unit

    Resets both reads and writes.

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

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def write(from: Array[Byte], off: Int, len: Int): Unit

    Definition Classes
    TReusableMemoryTransport → TTransport
  39. def write(arg0: Array[Byte]): Unit

    Definition Classes
    TTransport
    Annotations
    @throws( ... )

Inherited from TTransport

Inherited from AnyRef

Inherited from Any

Ungrouped