Uses of Interface
org.apache.activemq.artemis.core.journal.IOCompletion
Packages that use IOCompletion
Package
Description
-
Uses of IOCompletion in org.apache.activemq.artemis.core.io
Classes in org.apache.activemq.artemis.core.io that implement IOCompletion -
Uses of IOCompletion in org.apache.activemq.artemis.core.journal
Methods in org.apache.activemq.artemis.core.journal with parameters of type IOCompletionModifier and TypeMethodDescriptionvoidJournal.appendAddEvent(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion completionCallback) An event is data recorded on the journal, but it won't have any weight or deletes.default voidJournal.appendAddRecord(long id, byte recordType, EncodingSupport record, boolean sync, IOCompletion completionCallback) voidJournal.appendAddRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion completionCallback) voidJournal.appendCommitRecord(long txID, boolean sync, IOCompletion callback) voidJournal.appendCommitRecord(long txID, boolean sync, IOCompletion callback, boolean lineUpContext) append a commit record to thisJournalimplementationvoidJournal.appendDeleteRecord(long id, boolean sync, IOCompletion completionCallback) voidJournal.appendPrepareRecord(long txID, EncodingSupport transactionData, boolean sync, IOCompletion callback) voidJournal.appendRollbackRecord(long txID, boolean sync, IOCompletion callback) default voidJournal.appendUpdateRecord(long id, byte recordType, EncodingSupport record, boolean sync, IOCompletion completionCallback) voidJournal.appendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidJournal.lineUpContext(IOCompletion callback) voidJournal.tryAppendDeleteRecord(long id, boolean sync, JournalUpdateCallback updateCallback, IOCompletion completionCallback) default voidJournal.tryAppendUpdateRecord(long id, byte recordType, EncodingSupport record, boolean sync, boolean replaceableUpdate, JournalUpdateCallback updateCallback, IOCompletion completionCallback) voidJournal.tryAppendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, boolean replaceableUpdate, JournalUpdateCallback updateCallback, IOCompletion callback) -
Uses of IOCompletion in org.apache.activemq.artemis.core.journal.collections
Methods in org.apache.activemq.artemis.core.journal.collections with parameters of type IOCompletionModifier and TypeMethodDescriptionvoidMapStorageManager.storeMapRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion completionCallback) Constructor parameters in org.apache.activemq.artemis.core.journal.collections with type arguments of type IOCompletionModifierConstructorDescriptionJournalHashMap(long collectionId, MapStorageManager journal, LongSupplier idGenerator, org.apache.activemq.artemis.core.persistence.Persister<JournalHashMap.MapRecord<K, V>> persister, byte recordType, Supplier<IOCompletion> completionSupplier, LongFunction<C> contextProvider, IOCriticalErrorListener ioExceptionListener) JournalHashMapProvider(LongSupplier idSupplier, MapStorageManager journal, AbstractHashMapPersister<K, V> persister, byte recordType, Supplier<IOCompletion> ioCompletionSupplier, LongFunction<C> contextProvider, IOCriticalErrorListener ioExceptionListener) -
Uses of IOCompletion in org.apache.activemq.artemis.core.journal.impl
Classes in org.apache.activemq.artemis.core.journal.impl that implement IOCompletionModifier and TypeClassDescriptionfinal classclassInternal class used to manage explicit syncs on the Journal through callbacks.Methods in org.apache.activemq.artemis.core.journal.impl with parameters of type IOCompletionModifier and TypeMethodDescriptionvoidFileWrapperJournal.appendAddEvent(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidJournalImpl.appendAddEvent(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidFileWrapperJournal.appendAddRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidJournalImpl.appendAddRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidFileWrapperJournal.appendCommitRecord(long txID, boolean sync, IOCompletion callback, boolean lineUpContext) voidJournalImpl.appendCommitRecord(long txID, boolean sync, IOCompletion callback, boolean lineUpContext) Regarding the number of operations in a given file seeJournalCompleteRecordTX.voidFileWrapperJournal.appendDeleteRecord(long id, boolean sync, IOCompletion callback) voidJournalImpl.appendDeleteRecord(long id, boolean sync, IOCompletion callback) voidFileWrapperJournal.appendPrepareRecord(long txID, EncodingSupport transactionData, boolean sync, IOCompletion callback) voidJournalImpl.appendPrepareRecord(long txID, EncodingSupport transactionData, boolean sync, IOCompletion callback) If the system crashed after a prepare was called, it should store information that is required to bring the transaction back to a state it could be committed.voidFileWrapperJournal.appendRollbackRecord(long txID, boolean sync, IOCompletion callback) voidJournalImpl.appendRollbackRecord(long txID, boolean sync, IOCompletion callback) voidFileWrapperJournal.appendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidJournalImpl.appendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, IOCompletion callback) voidFileWrapperJournal.lineUpContext(IOCompletion callback) voidJournalImpl.lineUpContext(IOCompletion callback) voidFileWrapperJournal.tryAppendDeleteRecord(long id, boolean sync, JournalUpdateCallback updateCallback, IOCompletion callback) voidJournalImpl.tryAppendDeleteRecord(long id, boolean sync, JournalUpdateCallback updateCallback, IOCompletion callback) voidFileWrapperJournal.tryAppendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, boolean replaceableUpdate, JournalUpdateCallback updateCallback, IOCompletion callback) voidJournalImpl.tryAppendUpdateRecord(long id, byte recordType, org.apache.activemq.artemis.core.persistence.Persister persister, Object record, boolean sync, boolean replaceableUpdate, JournalUpdateCallback updateCallback, IOCompletion callback)