Package org.apache.thrift.transport.layered
package org.apache.thrift.transport.layered
-
ClassDescriptionThis transport is wire compatible with
TFramedTransport
, but makes use of reusable, expanding read and write buffers in order to avoid allocating new byte[]s all the time.TFramedTransport is a buffered TTransport that ensures a fully read message every time by preceding messages with a 4-byte frame size.