mirror of https://github.com/apache/activemq.git
Merge pull request #1237 from PascalSchumacher/KahaDBStore_fix_typo
KahaDBStore: Fix typo in comment and remove duplicate semicolon
This commit is contained in:
commit
20d74d0702
|
@ -101,7 +101,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter,
|
||||||
PROPERTY_CANCELED_TASK_MOD_METRIC, "0"), 10);
|
PROPERTY_CANCELED_TASK_MOD_METRIC, "0"), 10);
|
||||||
public static final String PROPERTY_ASYNC_EXECUTOR_MAX_THREADS = "org.apache.activemq.store.kahadb.ASYNC_EXECUTOR_MAX_THREADS";
|
public static final String PROPERTY_ASYNC_EXECUTOR_MAX_THREADS = "org.apache.activemq.store.kahadb.ASYNC_EXECUTOR_MAX_THREADS";
|
||||||
private static final int asyncExecutorMaxThreads = Integer.parseInt(System.getProperty(
|
private static final int asyncExecutorMaxThreads = Integer.parseInt(System.getProperty(
|
||||||
PROPERTY_ASYNC_EXECUTOR_MAX_THREADS, "1"), 10);;
|
PROPERTY_ASYNC_EXECUTOR_MAX_THREADS, "1"), 10);
|
||||||
|
|
||||||
protected ExecutorService queueExecutor;
|
protected ExecutorService queueExecutor;
|
||||||
protected ExecutorService topicExecutor;
|
protected ExecutorService topicExecutor;
|
||||||
|
@ -115,7 +115,7 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter,
|
||||||
Semaphore globalTopicSemaphore;
|
Semaphore globalTopicSemaphore;
|
||||||
private boolean concurrentStoreAndDispatchQueues = true;
|
private boolean concurrentStoreAndDispatchQueues = true;
|
||||||
// when true, message order may be compromised when cache is exhausted if store is out
|
// when true, message order may be compromised when cache is exhausted if store is out
|
||||||
// or order w.r.t cache
|
// of order w.r.t cache
|
||||||
private boolean concurrentStoreAndDispatchTopics = false;
|
private boolean concurrentStoreAndDispatchTopics = false;
|
||||||
private int maxAsyncJobs = MAX_ASYNC_JOBS;
|
private int maxAsyncJobs = MAX_ASYNC_JOBS;
|
||||||
private final KahaDBTransactionStore transactionStore;
|
private final KahaDBTransactionStore transactionStore;
|
||||||
|
|
Loading…
Reference in New Issue