public class JDBCJournalStorageManager extends JournalStorageManager
AbstractJournalStorageManager.JournalContentStorageManager.LargeMessageExtensionlargeMessagesDirectorybindingsJournal, config, executorFactory, idGenerator, ioExecutors, journalLoaded, largeMessagesToDelete, mapPersistedAddressSettings, mapPersistedRoles, messageJournal, pageMaxConcurrentIO, perfBlastPages, scheduledExecutorService, started, storageManagerLock| Constructor and Description |
|---|
JDBCJournalStorageManager(Configuration config,
org.apache.activemq.artemis.utils.ExecutorFactory executorFactory,
org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory,
ScheduledExecutorService scheduledExecutorService) |
JDBCJournalStorageManager(Configuration config,
ScheduledExecutorService scheduledExecutorService,
org.apache.activemq.artemis.utils.ExecutorFactory executorFactory,
org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory,
org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
allocateDirectBuffer(int size)
AIO has an optimized buffer which has a method to release it
instead of the way NIO will release data based on GC.
|
void |
freeDirectBuffer(ByteBuffer buffer)
AIO has an optimized buffer which has a method to release it
instead of the way NIO will release data based on GC.
|
protected void |
init(Configuration config,
org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener)
Called during initialization.
|
void |
stop(boolean ioCriticalError) |
addBytesToLargeMessage, beforeStart, beforeStop, createFileForLargeMessage, createFileForLargeMessage, createLargeMessage, createLargeMessage, injectMonitor, isReplicated, pageClosed, pageDeleted, pageWrite, parseLargeMessage, performCachedLargeMessageDeletes, startReplication, stop, stopReplication, storePendingLargeMessageaddGrouping, addQueueBinding, addToPage, afterCompleteOperations, afterPageRead, afterStoreOperations, beforePageRead, clearContext, commit, commit, commitBindings, confirmLargeMessage, confirmPendingLargeMessage, confirmPendingLargeMessageTX, criticalError, deleteAddressSetting, deleteCursorAcknowledge, deleteCursorAcknowledgeTransactional, deleteDuplicateID, deleteDuplicateIDTransactional, deleteGrouping, deleteHeuristicCompletion, deleteID, deleteIncrementRecord, deleteMessage, deletePageComplete, deletePageCounter, deletePageTransactional, deletePendingPageCounter, deleteQueueBinding, deleteQueueStatus, deleteSecurityRoles, generateID, getBindingsJournal, getContext, getCurrentID, getIDGenerator, getMessageJournal, isStarted, lineUpContext, loadBindingJournal, loadInternalOnly, loadMessageJournal, md5, newBindingEncoding, newContext, newQueueStatusEncoding, newSecurityRecord, newSingleThreadContext, persistIdGenerator, prepare, readLock, readUnLock, recoverAddressSettings, recoverPersistedRoles, rollback, rollbackBindings, setContext, start, storeAcknowledge, storeAcknowledgeTransactional, storeAddressSetting, storeCursorAcknowledge, storeCursorAcknowledgeTransactional, storeDuplicateID, storeDuplicateIDTransactional, storeHeuristicCompletion, storeID, storeMessage, storeMessageTransactional, storePageCompleteTransactional, storePageCounter, storePageCounterInc, storePageCounterInc, storePageTransaction, storePendingCounter, storeQueueStatus, storeReference, storeReferenceTransactional, storeSecurityRoles, updateDeliveryCount, updateDuplicateIDTransactional, updatePageTransaction, updatePageTransaction, updateScheduledDeliveryTime, updateScheduledDeliveryTimeTransactional, waitOnOperations, waitOnOperationspublic JDBCJournalStorageManager(Configuration config, org.apache.activemq.artemis.utils.ExecutorFactory executorFactory, org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory, ScheduledExecutorService scheduledExecutorService)
public JDBCJournalStorageManager(Configuration config, ScheduledExecutorService scheduledExecutorService, org.apache.activemq.artemis.utils.ExecutorFactory executorFactory, org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory, org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener)
protected void init(Configuration config, org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener)
AbstractJournalStorageManagerinit in class JournalStorageManagerpublic void stop(boolean ioCriticalError)
throws Exception
stop in interface StorageManagerstop in class JournalStorageManagerioCriticalError - is the server being stopped due to an IO critical errorExceptionpublic ByteBuffer allocateDirectBuffer(int size)
StorageManagerallocateDirectBuffer in interface StorageManagerallocateDirectBuffer in class JournalStorageManagerpublic void freeDirectBuffer(ByteBuffer buffer)
StorageManagerfreeDirectBuffer in interface StorageManagerfreeDirectBuffer in class JournalStorageManagerCopyright © 2023 The Apache Software Foundation. All rights reserved.