|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.thrift.server.TServer
org.apache.thrift.server.TThreadPoolServer
public class TThreadPoolServer
Server which uses Java's built in ThreadPool management to spawn off a worker pool that
| Nested Class Summary | |
|---|---|
static class |
TThreadPoolServer.Args
|
| Nested classes/interfaces inherited from class org.apache.thrift.server.TServer |
|---|
TServer.AbstractServerArgs<T extends TServer.AbstractServerArgs<T>> |
| Field Summary |
|---|
| Fields inherited from class org.apache.thrift.server.TServer |
|---|
eventHandler_, inputProtocolFactory_, inputTransportFactory_, outputProtocolFactory_, outputTransportFactory_, processorFactory_, serverTransport_ |
| Constructor Summary | |
|---|---|
TThreadPoolServer(TThreadPoolServer.Args args)
|
|
| Method Summary | |
|---|---|
void |
serve()
The run method fires up the server and gets things going. |
void |
stop()
Stop the server. |
| Methods inherited from class org.apache.thrift.server.TServer |
|---|
getEventHandler, isServing, setServerEventHandler, setServing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TThreadPoolServer(TThreadPoolServer.Args args)
| Method Detail |
|---|
public void serve()
TServer
serve in class TServerpublic void stop()
TServer
stop in class TServer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||