Uses of Class
org.apache.activemq.store.kahadb.disk.journal.Location
Packages that use Location
Package
Description
journal based data storage - scalable and fast
-
Uses of Location in org.apache.activemq.store.kahadb
Fields in org.apache.activemq.store.kahadb declared as LocationModifier and TypeFieldDescriptionprotected LocationMessageDatabase.Metadata.ackMessageFileMapLocationprotected LocationMessageDatabase.Metadata.firstInProgressTransactionLocationprotected LocationMessageDatabase.Metadata.lastUpdateprotected LocationMessageDatabase.Metadata.producerSequenceIdTrackerLocationFields in org.apache.activemq.store.kahadb with type parameters of type LocationModifier and TypeFieldDescriptionprotected final AtomicReference<Location>MessageDatabase.lastAsyncJournalUpdateMethods in org.apache.activemq.store.kahadb that return LocationModifier and TypeMethodDescriptionLocation[]MessageDatabase.getInProgressTxLocationRange()AbstractKahaDBMetaData.getLastUpdateLocation()KahaDBMetaData.getLastUpdateLocation()Returns the Journal Location value that indicates that last recorded update that was successfully performed for this KahaDB store implementation.MessageDatabase.getLastUpdatePosition()AbstractKahaDBStore.store(JournalCommand<?> command) Store a command in the Journal and process to update the Store index.AbstractKahaDBStore.store(JournalCommand<?> command, boolean sync) Store a command in the Journal and process to update the Store index.AbstractKahaDBStore.store(JournalCommand<?> command, boolean sync, Runnable before, Runnable after) Store a command in the Journal and process to update the Store index.AbstractKahaDBStore.store(JournalCommand<?> command, boolean sync, Runnable before, Runnable after, Runnable onJournalStoreComplete) All updated are are funneled through this method.AbstractKahaDBStore.store(JournalCommand<?> command, Runnable onJournalStoreComplete) Store a command in the Journal and process to update the Store index.MessageDatabase.store(JournalCommand<?> data) MessageDatabase.store(JournalCommand<?> data, boolean sync, org.apache.activemq.store.kahadb.MessageDatabase.IndexAware before, Runnable after) MessageDatabase.store(JournalCommand<?> data, boolean sync, org.apache.activemq.store.kahadb.MessageDatabase.IndexAware before, Runnable after, Runnable onJournalStoreComplete) All updated are are funneled through this method.MessageDatabase.store(JournalCommand<?> data, Runnable onJournalStoreComplete) Methods in org.apache.activemq.store.kahadb with parameters of type LocationModifier and TypeMethodDescriptionprotected JournalCommand<?>Loads a previously stored JournalMessageLoads a previously stored JournalMessageprotected abstract voidAbstractKahaDBStore.process(JournalCommand<?> command, Location location) Process a stored or recovered JournalCommand instance and update the DB Index with the state changes that this command produces.protected voidMessageDatabase.process(KahaAddMessageCommand command, Location location, org.apache.activemq.store.kahadb.MessageDatabase.IndexAware runWithIndexLock) protected voidMessageDatabase.process(KahaCommitCommand command, Location location, org.apache.activemq.store.kahadb.MessageDatabase.IndexAware before) protected voidMessageDatabase.process(KahaPrepareCommand command, Location location) protected voidMessageDatabase.process(KahaRemoveDestinationCommand command, Location location) protected voidMessageDatabase.process(KahaRemoveMessageCommand command, Location location) protected voidMessageDatabase.process(KahaRewrittenDataFileCommand command, Location location) protected voidMessageDatabase.process(KahaRollbackCommand command, Location location) protected voidMessageDatabase.process(KahaSubscriptionCommand command, Location location) protected voidMessageDatabase.process(KahaUpdateMessageCommand command, Location location) voidMultiKahaDBTransactionStore.process(Location location, JournalCommand<?> command) protected voidMessageDatabase.processLocation(Location location) voidAbstractKahaDBMetaData.setLastUpdateLocation(Location location) voidKahaDBMetaData.setLastUpdateLocation(Location location) Updates the value of the last successful update.voidMultiKahaDBTransactionStore.Tx.trackPrepareLocation(Location location) -
Uses of Location in org.apache.activemq.store.kahadb.disk.journal
Fields in org.apache.activemq.store.kahadb.disk.journal declared as LocationFields in org.apache.activemq.store.kahadb.disk.journal with type parameters of type LocationModifier and TypeFieldDescriptionprotected final AtomicReference<Location>Journal.lastAppendLocationMethods in org.apache.activemq.store.kahadb.disk.journal that return LocationModifier and TypeMethodDescriptionReadOnlyJournal.getFirstLocation()Journal.getLastAppendLocation()Journal.getNextLocation(Location location) Journal.getNextLocation(Location location, Location limit) protected LocationJournal.recoveryCheck(DataFile dataFile) FileAppender.storeItem(ByteSequence data, byte type, boolean sync) FileAppender.storeItem(ByteSequence data, byte type, Runnable onComplete) TargetedDataFileAppender.storeItem(ByteSequence data, byte type, boolean sync) TargetedDataFileAppender.storeItem(ByteSequence data, byte type, Runnable onComplete) Journal.write(ByteSequence data, boolean sync) Journal.write(ByteSequence data, Runnable onComplete) Methods in org.apache.activemq.store.kahadb.disk.journal with parameters of type LocationModifier and TypeMethodDescriptionintvoidJournal.corruptRecoveryLocation(Location recoveryPosition) Journal.getNextLocation(Location location) Journal.getNextLocation(Location location, Location limit) voidReplicationTarget.replicate(Location location, ByteSequence sequence, boolean sync) voidJournal.setLastAppendLocation(Location lastSyncedLocation) voidJournal.update(Location location, ByteSequence data, boolean sync) Constructors in org.apache.activemq.store.kahadb.disk.journal with parameters of type LocationModifierConstructorDescriptionWriteCommand(Location location, ByteSequence data, boolean sync) WriteCommand(Location location, ByteSequence data, Runnable onComplete) -
Uses of Location in org.apache.activemq.store.kahadb.disk.util
Methods in org.apache.activemq.store.kahadb.disk.util that return LocationMethods in org.apache.activemq.store.kahadb.disk.util with parameters of type LocationModifier and TypeMethodDescriptionvoidLocationMarshaller.writePayload(Location object, DataOutput dataOut) -
Uses of Location in org.apache.activemq.store.kahadb.plist
Methods in org.apache.activemq.store.kahadb.plist that return LocationModifier and TypeMethodDescriptionPListImpl.add(Transaction tx, String key, Location value) PListImpl.addFirst(Transaction tx, String key, Location value) Methods in org.apache.activemq.store.kahadb.plist with parameters of type LocationModifier and TypeMethodDescriptionPListImpl.add(Transaction tx, String key, Location value) PListImpl.addFirst(Transaction tx, String key, Location value) Method parameters in org.apache.activemq.store.kahadb.plist with type arguments of type Location -
Uses of Location in org.apache.activemq.store.kahadb.scheduler
Methods in org.apache.activemq.store.kahadb.scheduler with parameters of type LocationModifier and TypeMethodDescriptionprotected voidJobSchedulerStoreImpl.decrementJournalCount(Transaction tx, Location location) Removes one reference for the Journal log file indicated in the given Location value.protected voidJobSchedulerStoreImpl.doRecover(JournalCommand<?> data, Location location, Location inDoubtlocation) Called during index recovery to rebuild the index from the last known good location.protected ByteSequenceJobSchedulerStoreImpl.getPayload(Location location) Retrieve the scheduled Job's byte blob from the journal.protected voidJobSchedulerStoreImpl.incrementJournalCount(Transaction tx, Location location) Adds a reference for the journal log file pointed to by the given Location value.protected voidJobSchedulerImpl.process(Transaction tx, KahaAddScheduledJobCommand command, Location location) Adds a new Scheduled job to the index.protected voidJobSchedulerImpl.process(Transaction tx, KahaRemoveScheduledJobsCommand command, Location location) Removes all scheduled jobs within a given time range.protected voidJobSchedulerImpl.process(Transaction tx, KahaRescheduleJobCommand command, Location location) Reschedules a Job after it has be fired.protected voidJobSchedulerStoreImpl.process(JournalCommand<?> data, Location location) Called during recovery to allow the store to rebuild from scratch.protected voidJobSchedulerStoreImpl.processLocation(Location location) protected voidJobSchedulerStoreImpl.referenceRemovedLocation(Transaction tx, Location location, List<Integer> removedJobsFileId) Updates the Job removal tracking index with the location of a remove command and the original JobLocation entry.protected voidJobSchedulerStoreImpl.referenceRemovedLocation(Transaction tx, Location location, org.apache.activemq.store.kahadb.scheduler.JobLocation removedJob) Updates the Job removal tracking index with the location of a remove command and the original JobLocation entry.protected voidJobSchedulerImpl.removeInRange(Transaction tx, long start, long finish, Location location) Removes all scheduled jobs within the target range.