public class THsHaDisruptorServer
extends com.thinkaurelius.thrift.TDisruptorServer
Modifier and Type | Class and Description |
---|---|
static class |
THsHaDisruptorServer.Factory |
com.thinkaurelius.thrift.TDisruptorServer.AbstractSelectorThread, com.thinkaurelius.thrift.TDisruptorServer.AcceptorThread, com.thinkaurelius.thrift.TDisruptorServer.Args, com.thinkaurelius.thrift.TDisruptorServer.InvocationHandler, com.thinkaurelius.thrift.TDisruptorServer.RandomSelectorLoadBalancer, com.thinkaurelius.thrift.TDisruptorServer.SelectorLoadBalancer, com.thinkaurelius.thrift.TDisruptorServer.SelectorThread
org.apache.thrift.server.TNonblockingServer.SelectAcceptThread
org.apache.thrift.server.AbstractNonblockingServer.AbstractNonblockingServerArgs<T extends org.apache.thrift.server.AbstractNonblockingServer.AbstractNonblockingServerArgs<T>>, org.apache.thrift.server.AbstractNonblockingServer.AbstractSelectThread, org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer, org.apache.thrift.server.AbstractNonblockingServer.FrameBuffer
Constructor and Description |
---|
THsHaDisruptorServer(com.thinkaurelius.thrift.TDisruptorServer.Args args)
All the arguments to Non Blocking Server will apply here.
|
Modifier and Type | Method and Description |
---|---|
void |
beforeClose(com.thinkaurelius.thrift.Message buffer) |
protected void |
beforeInvoke(com.thinkaurelius.thrift.Message buffer) |
getNumberOfSelectors, getRingBufferSize, gracefullyShutdownInvokerPool, isHeapBasedAllocationUsed, isStopped, joinSelector, requestInvoke, startThreads, stop, useHeapBasedAllocation, waitForShutdown
serve, startListening, stopListening
public THsHaDisruptorServer(com.thinkaurelius.thrift.TDisruptorServer.Args args)
protected void beforeInvoke(com.thinkaurelius.thrift.Message buffer)
beforeInvoke
in class com.thinkaurelius.thrift.TDisruptorServer
public void beforeClose(com.thinkaurelius.thrift.Message buffer)
beforeClose
in class com.thinkaurelius.thrift.TDisruptorServer
Copyright © 2016 The Apache Software Foundation