Example usage for org.apache.thrift.protocol TBinaryProtocol subclass-usage

List of usage examples for org.apache.thrift.protocol TBinaryProtocol subclass-usage

Introduction

In this page you can find the example usage for org.apache.thrift.protocol TBinaryProtocol subclass-usage.

Usage

From source file com.thinkaurelius.thrift.util.TBinaryProtocol.java

/**
 * Thrift original TBinaryProtocol implementation relies on the fact that all
 * TTransport instances are byte array backed, so for all it's operations they can just
 * use that array, requesting it using TTransport.getBuffer().
 *
 * Disruptor implementation follows different approach, it uses direct byte buffers

From source file org.apache.cassandra.thrift.TBinaryProtocol.java

/**
 * TODO
 * This was added to support writeBinary on direct buffers for CASSANDRA-1714;
 * we can remove it once we upgrade to Thrift 0.7, which incorporates the patch (THRIFT-883).
 */

From source file org.jinn.coca.benchmark.thrift.util.TBinaryProtocol.java

/**
 * Thrift original TBinaryProtocol implementation relies on the fact that all
 * TTransport instances are byte array backed, so for all it's operations they can just
 * use that array, requesting it using TTransport.getBuffer().
 *
 * Disruptor implementation follows different approach, it uses direct byte buffers