Package | Description |
---|---|
org.apache.tephra.rpc |
This package contains class for writing RPC server and client in simple manner.
|
Modifier and Type | Method and Description |
---|---|
static <I> ThriftRPCServer.Builder<I> |
ThriftRPCServer.builder(Class<I> serviceType)
Creates a
ThriftRPCServer.Builder for creating instance of ThriftRPCServer . |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setHost(String host) |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setIOThreads(int count) |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setMaxReadBufferBytes(int maxReadBufferBytes) |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setName(String name) |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setPort(int port) |
ThriftRPCServer.Builder<I> |
ThriftRPCServer.Builder.setWorkerThreads(int count) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.