Uses of Class
org.apache.activemq.store.kahadb.disk.journal.Location
-
Packages that use Location Package Description org.apache.activemq.store.kahadb org.apache.activemq.store.kahadb.disk.journal journal based data storage - scalable and fastorg.apache.activemq.store.kahadb.disk.util org.apache.activemq.store.kahadb.plist org.apache.activemq.store.kahadb.scheduler -
-
Uses of Location in org.apache.activemq.store.kahadb
Fields in org.apache.activemq.store.kahadb declared as Location Modifier and Type Field Description protected LocationMessageDatabase.Metadata. ackMessageFileMapLocationprotected LocationMessageDatabase.Metadata. firstInProgressTransactionLocationprotected LocationMessageDatabase.Metadata. lastUpdateprotected LocationMessageDatabase.Metadata. producerSequenceIdTrackerLocationFields in org.apache.activemq.store.kahadb with type parameters of type Location Modifier and Type Field Description protected AtomicReference<Location>MessageDatabase. lastAsyncJournalUpdateMethods in org.apache.activemq.store.kahadb that return Location Modifier and Type Method Description Location[]MessageDatabase. getInProgressTxLocationRange()LocationAbstractKahaDBMetaData. getLastUpdateLocation()LocationKahaDBMetaData. getLastUpdateLocation()Returns the Journal Location value that indicates that last recorded update that was successfully performed for this KahaDB store implementation.LocationMessageDatabase. getLastUpdatePosition()LocationAbstractKahaDBStore. store(JournalCommand<?> command)Store a command in the Journal and process to update the Store index.LocationAbstractKahaDBStore. store(JournalCommand<?> command, boolean sync)Store a command in the Journal and process to update the Store index.LocationAbstractKahaDBStore. store(JournalCommand<?> command, boolean sync, Runnable before, Runnable after)Store a command in the Journal and process to update the Store index.LocationAbstractKahaDBStore. store(JournalCommand<?> command, boolean sync, Runnable before, Runnable after, Runnable onJournalStoreComplete)All updated are are funneled through this method.LocationAbstractKahaDBStore. store(JournalCommand<?> command, Runnable onJournalStoreComplete)Store a command in the Journal and process to update the Store index.LocationMessageDatabase. store(JournalCommand<?> data)LocationMessageDatabase. store(JournalCommand<?> data, boolean sync, org.apache.activemq.store.kahadb.MessageDatabase.IndexAware before, Runnable after)LocationMessageDatabase. 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.LocationMessageDatabase. store(JournalCommand<?> data, Runnable onJournalStoreComplete)Methods in org.apache.activemq.store.kahadb with parameters of type Location Modifier and Type Method Description protected JournalCommand<?>AbstractKahaDBStore. load(Location location)Loads a previously stored JournalMessageJournalCommand<?>MessageDatabase. load(Location location)Loads a previously stored JournalMessageJournalCommand<?>MultiKahaDBTransactionStore. load(Location location)protected 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 Location Modifier and Type Field Description LocationJournal.WriteCommand. locationFields in org.apache.activemq.store.kahadb.disk.journal with type parameters of type Location Modifier and Type Field Description protected AtomicReference<Location>Journal. lastAppendLocationMethods in org.apache.activemq.store.kahadb.disk.journal that return Location Modifier and Type Method Description LocationReadOnlyJournal. getFirstLocation()LocationJournal. getLastAppendLocation()LocationJournal. getNextLocation(Location location)LocationJournal. getNextLocation(Location location, Location limit)protected LocationJournal. recoveryCheck(DataFile dataFile)LocationFileAppender. storeItem(ByteSequence data, byte type, boolean sync)LocationFileAppender. storeItem(ByteSequence data, byte type, Runnable onComplete)LocationTargetedDataFileAppender. storeItem(ByteSequence data, byte type, boolean sync)LocationTargetedDataFileAppender. storeItem(ByteSequence data, byte type, Runnable onComplete)LocationJournal. write(ByteSequence data, boolean sync)LocationJournal. write(ByteSequence data, Runnable onComplete)Methods in org.apache.activemq.store.kahadb.disk.journal with parameters of type Location Modifier and Type Method Description intLocation. compareTo(Location o)voidJournal. corruptRecoveryLocation(Location recoveryPosition)LocationJournal. getNextLocation(Location location)LocationJournal. getNextLocation(Location location, Location limit)ByteSequenceJournal. read(Location location)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 Location Constructor Description Location(Location item)WriteCommand(Location location, ByteSequence data, boolean sync)WriteCommand(Location location, ByteSequence data, Runnable onComplete)WriteKey(Location item) -
Uses of Location in org.apache.activemq.store.kahadb.disk.util
Methods in org.apache.activemq.store.kahadb.disk.util that return Location Modifier and Type Method Description LocationLocationMarshaller. deepCopy(Location source)LocationLocationMarshaller. readPayload(DataInput dataIn)Methods in org.apache.activemq.store.kahadb.disk.util with parameters of type Location Modifier and Type Method Description LocationLocationMarshaller. deepCopy(Location source)voidLocationMarshaller. 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 Location Modifier and Type Method Description LocationPListImpl. add(Transaction tx, String key, Location value)LocationPListImpl. addFirst(Transaction tx, String key, Location value)Methods in org.apache.activemq.store.kahadb.plist with parameters of type Location Modifier and Type Method Description LocationPListImpl. add(Transaction tx, String key, Location value)LocationPListImpl. addFirst(Transaction tx, String key, Location value)Method parameters in org.apache.activemq.store.kahadb.plist with type arguments of type Location Modifier and Type Method Description protected voidPListImpl. onLoad(ListNode<String,Location> node, Transaction tx)voidPListImpl. onRemove(Map.Entry<String,Location> removed) -
Uses of Location in org.apache.activemq.store.kahadb.scheduler
Methods in org.apache.activemq.store.kahadb.scheduler with parameters of type Location Modifier and Type Method Description protected 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.
-