Removing commented out code.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/46ae92b7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/46ae92b7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/46ae92b7 Branch: refs/heads/0.1.5 Commit: 46ae92b7e4736dd380ebe1ea2c73c5e3d987da7b Parents: 771750c Author: Aaron McCurry <[email protected]> Authored: Wed Apr 17 19:47:15 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Wed Apr 17 19:47:15 2013 -0400 ---------------------------------------------------------------------- .../java/org/apache/blur/thrift/ThriftServer.java | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/46ae92b7/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java ---------------------------------------------------------------------- diff --git a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java index 1beba2b..c1ec8ce 100644 --- a/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java +++ b/src/blur-core/src/main/java/org/apache/blur/thrift/ThriftServer.java @@ -117,20 +117,6 @@ public class ThriftServer { args.transportFactory(new TFramedTransport.Factory()); args.protocolFactory(new TBinaryProtocol.Factory(true, true)); _server = new TThreadPoolServer(args); -// TNonblockingServerSocket serverTransport = new TNonblockingServerSocket(getBindInetSocketAddress(_configuration)); - -// Args args = new Args(serverTransport); -// args.processor(processor); -// _executorService = Executors.newThreadPool("thrift-processors", _threadCount); -// args.executorService(_executorService); -// Map<String, ExecutorService> methodCallsToExecutorService = new HashMap<String, ExecutorService>(); -// _mutateExecutorService = Executors.newThreadPool("thrift-processors-mutate", _threadCount); -// methodCallsToExecutorService.put("mutate", _mutateExecutorService); -// methodCallsToExecutorService.put("mutateBatch", _mutateExecutorService); -// _queryExexutorService = Executors.newThreadPool("thrift-processors-query", _threadCount); -// methodCallsToExecutorService.put("query", _queryExexutorService); -// args.setMethodCallsToExecutorService(methodCallsToExecutorService); -// _server = new ExecutorServicePerMethodCallThriftServer(args); LOG.info("Starting server [{0}]", _nodeName); _server.serve(); }
