public class JDBCJournalStorageManager extends JournalStorageManager
AbstractJournalStorageManager.JournalContent
StorageManager.LargeMessageExtension
largeMessagesDirectory
bindingsJournal, config, executorFactory, idGenerator, ioExecutors, journalLoaded, largeMessagesToDelete, mapPersistedAddressSettings, mapPersistedRoles, messageJournal, pageMaxConcurrentIO, perfBlastPages, scheduledExecutorService, started, storageManagerLock
Constructor and Description |
---|
JDBCJournalStorageManager(Configuration config,
ExecutorFactory executorFactory,
ExecutorFactory ioExecutorFactory,
ScheduledExecutorService scheduledExecutorService) |
JDBCJournalStorageManager(Configuration config,
ScheduledExecutorService scheduledExecutorService,
ExecutorFactory executorFactory,
ExecutorFactory ioExecutorFactory,
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,
IOCriticalErrorListener criticalErrorListener)
Called during initialization.
|
void |
stop(boolean ioCriticalError,
boolean sendFailover) |
addBytesToLargeMessage, beforeStart, beforeStop, createFileForLargeMessage, createFileForLargeMessage, createLargeMessage, createLargeMessage, injectMonitor, isReplicated, pageClosed, pageDeleted, pageWrite, parseLargeMessage, performCachedLargeMessageDeletes, startReplication, stop, stopReplication, storePendingLargeMessage
addGrouping, 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, waitOnOperations
public JDBCJournalStorageManager(Configuration config, ExecutorFactory executorFactory, ExecutorFactory ioExecutorFactory, ScheduledExecutorService scheduledExecutorService)
public JDBCJournalStorageManager(Configuration config, ScheduledExecutorService scheduledExecutorService, ExecutorFactory executorFactory, ExecutorFactory ioExecutorFactory, IOCriticalErrorListener criticalErrorListener)
protected void init(Configuration config, IOCriticalErrorListener criticalErrorListener)
AbstractJournalStorageManager
init
in class JournalStorageManager
public void stop(boolean ioCriticalError, boolean sendFailover) throws Exception
stop
in interface StorageManager
stop
in class JournalStorageManager
ioCriticalError
- is the server being stopped due to an IO critical error.sendFailover
- this is to send the replication stopping in case of replication.Exception
public ByteBuffer allocateDirectBuffer(int size)
StorageManager
allocateDirectBuffer
in interface StorageManager
allocateDirectBuffer
in class JournalStorageManager
public void freeDirectBuffer(ByteBuffer buffer)
StorageManager
freeDirectBuffer
in interface StorageManager
freeDirectBuffer
in class JournalStorageManager
Copyright © 2017 JBoss by Red Hat. All rights reserved.