org.apache.accumulo.server.util
Class ThreadPoolServer

java.lang.Object
  extended by org.apache.thrift.server.TServer
      extended by org.apache.accumulo.server.util.ThreadPoolServer

public class ThreadPoolServer
extends org.apache.thrift.server.TServer


Field Summary
 
Fields inherited from class org.apache.thrift.server.TServer
inputProtocolFactory_, inputTransportFactory_, outputProtocolFactory_, outputTransportFactory_, processorFactory_, serverTransport_
 
Constructor Summary
ThreadPoolServer(org.apache.thrift.TProcessor processor, org.apache.thrift.transport.TServerTransport serverTransport)
           
ThreadPoolServer(org.apache.thrift.TProcessor processor, org.apache.thrift.transport.TServerTransport serverTransport, int threads)
           
 
Method Summary
 void serve()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolServer

public ThreadPoolServer(org.apache.thrift.TProcessor processor,
                        org.apache.thrift.transport.TServerTransport serverTransport,
                        int threads)

ThreadPoolServer

public ThreadPoolServer(org.apache.thrift.TProcessor processor,
                        org.apache.thrift.transport.TServerTransport serverTransport)
Method Detail

serve

public void serve()
Specified by:
serve in class org.apache.thrift.server.TServer

stop

public void stop()
Overrides:
stop in class org.apache.thrift.server.TServer


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.