public static class TDisruptorServer.Args extends org.apache.thrift.server.AbstractNonblockingServer.AbstractNonblockingServerArgs<TDisruptorServer.Args>
| Constructor and Description |
|---|
TDisruptorServer.Args(org.apache.thrift.transport.TNonblockingServerTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
TDisruptorServer.Args |
alwaysReallocateBuffers(boolean flag) |
TDisruptorServer.Args |
maxFrameSizeInBytes(int maxFrameSizeInBytes) |
TDisruptorServer.Args |
numAcceptors(int numAcceptors) |
TDisruptorServer.Args |
numSelectors(int numSelectors) |
TDisruptorServer.Args |
numWorkersPerSelector(int numWorkers) |
TDisruptorServer.Args |
ringSizePerSelector(int ringSize) |
TDisruptorServer.Args |
useHeapBasedAllocation(boolean flag) |
public TDisruptorServer.Args(org.apache.thrift.transport.TNonblockingServerTransport transport)
public TDisruptorServer.Args numAcceptors(int numAcceptors)
public TDisruptorServer.Args numSelectors(int numSelectors)
public TDisruptorServer.Args numWorkersPerSelector(int numWorkers)
public TDisruptorServer.Args ringSizePerSelector(int ringSize)
public TDisruptorServer.Args useHeapBasedAllocation(boolean flag)
public TDisruptorServer.Args maxFrameSizeInBytes(int maxFrameSizeInBytes)
public TDisruptorServer.Args alwaysReallocateBuffers(boolean flag)
Copyright © 2013-2014. All Rights Reserved.