Merge pull request #1237 from PascalSchumacher/KahaDBStore_fix_typo

KahaDBStore: Fix typo in comment and remove duplicate semicolon
This commit is contained in:
JB Onofré 2024-06-26 14:07:32 +02:00 committed by GitHub
commit 20d74d0702
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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;