Package com.facebook.thrift.server

Examples of com.facebook.thrift.server.TThreadFactoryImpl


    super(processorFactory, serverTransport,
          inputTransportFactory, outputTransportFactory,
          inputProtocolFactory, outputProtocolFactory);
    options_ = new Options();
    executorService_ = Executors.newCachedThreadPool(
        new TThreadFactoryImpl("thrift")
    );
  }
View Full Code Here


      executorService_ = new ThreadPoolExecutor(options.minWorkerThreads,
                                                options.maxWorkerThreads,
                                                60,
                                                TimeUnit.SECONDS,
                                                executorQueue,
                                                new TThreadFactoryImpl("thrift"),
                                                rejectedExecutionHandler);
    }

    options_ = options;
  }
View Full Code Here

TOP

Related Classes of com.facebook.thrift.server.TThreadFactoryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.