org.infinispan.client.hotrod.impl.async
Class DefaultAsyncExecutorFactory

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.async.DefaultAsyncExecutorFactory
All Implemented Interfaces:
ExecutorFactory

public class DefaultAsyncExecutorFactory
extends Object
implements ExecutorFactory

Default implementation for ExecutorFactory based on an ThreadPoolExecutor.

Since:
4.1
Author:
Mircea.Markus@jboss.com

Field Summary
static AtomicInteger counter
           
static String THREAD_NAME
           
 
Constructor Summary
DefaultAsyncExecutorFactory()
           
 
Method Summary
 ExecutorService getExecutor(Properties p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_NAME

public static final String THREAD_NAME
See Also:
Constant Field Values

counter

public static final AtomicInteger counter
Constructor Detail

DefaultAsyncExecutorFactory

public DefaultAsyncExecutorFactory()
Method Detail

getExecutor

public ExecutorService getExecutor(Properties p)
Specified by:
getExecutor in interface ExecutorFactory

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.