Example usage for org.apache.thrift.transport TNonblockingServerTransport subclass-usage

List of usage examples for org.apache.thrift.transport TNonblockingServerTransport subclass-usage

Introduction

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

Usage

From source file com.netflix.suro.input.thrift.CustomServerSocket.java

/**
 * {@link ServerSocket} used by {@link TNonblockingServerTransport} in thrift 0.7.0 does not support KEEP_ALIVE. This
 * class enables KEEP_ALIVE in {@link TNonblockingServerTransport}.
 * @author jbae
 */
public class CustomServerSocket extends TNonblockingServerTransport {

From source file org.apache.accumulo.server.rpc.TNonblockingServerSocket.java

/**
 * Wrapper around ServerSocketChannel.
 *
 * This class is copied from org.apache.thrift.transport.TNonblockingServerSocket version 0.9. The only change (apart from the logging statements) is the
 * addition of the {@link #getPort()} method to retrieve the port used by the ServerSocket.
 */

From source file org.apache.accumulo.server.util.TNonblockingServerSocket.java

/**
 * Wrapper around ServerSocketChannel.
 * 
 * This class is copied from org.apache.thrift.transport.TNonblockingServerSocket version 0.9.
 * The only change (apart from the logging statements) is the addition of the {@link #getPort()} method to retrieve the port used by the ServerSocket.
 */