Uses of Class
org.apache.activemq.store.kahadb.disk.page.Transaction
-
-
Uses of Transaction in org.apache.activemq.store.kahadb
Methods in org.apache.activemq.store.kahadb with parameters of type Transaction Modifier and Type Method Description protected abstract voidAbstractKahaDBStore. checkpointUpdate(Transaction tx, boolean cleanup)Perform the checkpoint update operation.protected voidMessageDatabase. decrementAndSubSizeToStoreStat(Transaction tx, String kahaDestKey, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, long size)protected voidMessageDatabase. decrementAndSubSizeToStoreStat(Transaction tx, KahaDestination kahaDestination, long size)protected org.apache.activemq.store.kahadb.MessageDatabase.StoredDestinationMessageDatabase. getExistingStoredDestination(KahaDestination destination, Transaction tx)org.apache.activemq.store.kahadb.MessageDatabase.LastAckMessageDatabase. getLastAck(Transaction tx, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, String subscriptionKey)protected SequenceSetMessageDatabase. getSequenceSet(Transaction tx, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, String subscriptionKey)protected org.apache.activemq.store.kahadb.MessageDatabase.StoredDestinationMessageDatabase. getStoredDestination(KahaDestination destination, Transaction tx)protected org.apache.activemq.store.kahadb.TempMessageDatabase.StoredDestinationTempMessageDatabase. getStoredDestination(KahaDestination destination, Transaction tx)protected longMessageDatabase. getStoredMessageCount(Transaction tx, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, String subscriptionKey)protected longMessageDatabase. getStoredMessageSize(Transaction tx, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, String subscriptionKey)protected Map<String,AtomicLong>MessageDatabase. getStoredMessageSize(Transaction tx, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, List<String> subscriptionKeys)Recovers durable subscription pending message size with only 1 pass over the order index on recovery instead of iterating over the index once per subscriptionprotected MessageStoreStatisticsMessageDatabase. getStoredMessageStoreStatistics(KahaDestination destination, Transaction tx)protected voidMessageDatabase. incrementAndAddSizeToStoreStat(Transaction tx, String kahaDestKey, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, long size)protected voidMessageDatabase. incrementAndAddSizeToStoreStat(Transaction tx, KahaDestination kahaDestination, long size)Update MessageStoreStatisticsvoidKahaDBMetaData. initialize(Transaction tx)For a newly created KahaDBMetaData instance this method is called to allow the instance to create all of it's internal indices and other state data.voidKahaDBMetaData. load(Transaction tx)Instructs this object to load its internal data structures from the KahaDB PageFile and prepare itself for use.protected voidMessageDatabase. recoverIndex(Transaction tx)protected intKahaDBStore.KahaDBMessageStore. recoverRolledBackAcks(String recoveredTxStateMapKey, org.apache.activemq.store.kahadb.MessageDatabase.StoredDestination sd, Transaction tx, int maxReturned, MessageRecoveryListener listener) -
Uses of Transaction in org.apache.activemq.store.kahadb.disk.index
Methods in org.apache.activemq.store.kahadb.disk.index with parameters of type Transaction Modifier and Type Method Description ValueListIndex. add(Transaction tx, Key key, Value value)ValueListIndex. addFirst(Transaction tx, Key key, Value value)ValueListNode. addFirst(Transaction tx, Key key, Value value)voidBTreeIndex. clear(Transaction tx)voidBTreeNode. clear(Transaction tx)voidHashIndex. clear(Transaction tx)voidIndex. clear(Transaction tx)clear the indexvoidListIndex. clear(Transaction tx)voidListNode. clear(Transaction tx)booleanBTreeNode. contains(Transaction tx, Key key)booleanListNode. contains(Transaction tx, Key key)booleanBTreeIndex. containsKey(Transaction tx, Key key)booleanHashIndex. containsKey(Transaction tx, Key key)booleanIndex. containsKey(Transaction tx, Key key)booleanListIndex. containsKey(Transaction tx, Key key)ListNode<Key,Value>ListIndex. createNode(Transaction tx)ValueBTreeIndex. get(Transaction tx, Key key)ValueBTreeNode. get(Transaction tx, Key key)ValueHashIndex. get(Transaction tx, Key key)ValueIndex. get(Transaction tx, Key key)ValueListIndex. get(Transaction tx, Key key)ValueListNode. get(Transaction tx, Key key)Map.Entry<Key,Value>BTreeIndex. getFirst(Transaction tx)Map.Entry<Key,Value>BTreeNode. getFirst(Transaction tx)Map.Entry<Key,Value>ListIndex. getFirst(Transaction tx)Map.Entry<Key,Value>ListNode. getFirst(Transaction tx)BTreeNode<Key,Value>BTreeNode. getFirstLeafNode(Transaction tx)protected ListNode<Key,Value>ListIndex. getHead(Transaction tx)Map.Entry<Key,Value>BTreeIndex. getLast(Transaction tx)Map.Entry<Key,Value>BTreeNode. getLast(Transaction tx)Map.Entry<Key,Value>ListIndex. getLast(Transaction tx)Map.Entry<Key,Value>ListNode. getLast(Transaction tx)intBTreeIndex. getMaxLeafDepth(Transaction tx)intBTreeNode. getMaxLeafDepth(Transaction tx, int depth)intBTreeIndex. getMinLeafDepth(Transaction tx)intBTreeNode. getMinLeafDepth(Transaction tx, int depth)protected ListNode<Key,Value>ListIndex. getTail(Transaction tx)booleanBTreeIndex. isEmpty(Transaction tx)booleanBTreeNode. isEmpty(Transaction tx)booleanListIndex. isEmpty(Transaction tx)booleanListNode. isEmpty(Transaction tx)Iterator<Map.Entry<Key,Value>>BTreeIndex. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>BTreeIndex. iterator(Transaction tx, Key initialKey)Iterator<Map.Entry<Key,Value>>BTreeIndex. iterator(Transaction tx, Key initialKey, Key maxKey)Iterator<Map.Entry<Key,Value>>BTreeNode. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>BTreeNode. iterator(Transaction tx, Key startKey, Key endKey)Iterator<Map.Entry<Key,Value>>HashIndex. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>Index. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>ListIndex. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>ListIndex. iterator(Transaction tx, long initialPosition)Iterator<Map.Entry<Key,Value>>ListNode. iterator(Transaction tx)Iterator<Map.Entry<Key,Value>>ListNode. iterator(Transaction tx, long pos)Iterator<ListNode<Key,Value>>ListIndex. listNodeIterator(Transaction tx)voidBTreeIndex. load(Transaction tx)voidHashIndex. load(Transaction tx)voidIndex. load(Transaction tx)load indexesvoidListIndex. load(Transaction tx)protected voidListIndex. onLoad(ListNode<Key,Value> node, Transaction tx)voidBTreeIndex. printStructure(Transaction tx, OutputStream out)voidBTreeIndex. printStructure(Transaction tx, PrintWriter out)voidBTreeNode. printStructure(Transaction tx, PrintWriter out, String prefix)ValueBTreeIndex. put(Transaction tx, Key key, Value value)ValueBTreeNode. put(Transaction tx, Key key, Value value)ValueHashIndex. put(Transaction tx, Key key, Value value)ValueIndex. put(Transaction tx, Key key, Value entry)store the key, itemValueListIndex. put(Transaction tx, Key key, Value value)Update the value of the item with the given key in the list if ot exists, otherwise it appends the value to the end of the list.ValueListNode. put(Transaction tx, Key key, Value value)ValueBTreeIndex. remove(Transaction tx, Key key)ValueBTreeNode. remove(Transaction tx, Key key)ValueHashIndex. remove(Transaction tx, Key key)ValueIndex. remove(Transaction tx, Key key)remove the index keyValueListIndex. remove(Transaction tx, Key key)intHashIndex. size(Transaction tx)intListNode. size(Transaction tx)voidHashIndex. store(Transaction tx, org.apache.activemq.store.kahadb.disk.index.HashBin<Key,Value> bin)voidListIndex. storeNode(Transaction tx, ListNode<Key,Value> node, boolean overflow)voidListNode. storeUpdate(Transaction tx)voidBTreeIndex. unload(Transaction tx)voidHashIndex. unload(Transaction tx)voidIndex. unload(Transaction tx)unload indexesvoidListIndex. unload(Transaction tx)voidBTreeIndex. visit(Transaction tx, BTreeVisitor<Key,Value> visitor)voidBTreeNode. visit(Transaction tx, BTreeVisitor<Key,Value> visitor) -
Uses of Transaction in org.apache.activemq.store.kahadb.disk.page
Methods in org.apache.activemq.store.kahadb.disk.page that return Transaction Modifier and Type Method Description TransactionPageFile. tx()Methods in org.apache.activemq.store.kahadb.disk.page with parameters of type Transaction Modifier and Type Method Description RTransaction.CallableClosure. execute(Transaction tx)voidTransaction.Closure. execute(Transaction tx) -
Uses of Transaction in org.apache.activemq.store.kahadb.plist
Methods in org.apache.activemq.store.kahadb.plist with parameters of type Transaction Modifier and Type Method Description LocationPListImpl. add(Transaction tx, String key, Location value)LocationPListImpl. addFirst(Transaction tx, String key, Location value)voidPListImpl. clear(Transaction tx)protected voidPListImpl. onLoad(ListNode<String,Location> node, Transaction tx) -
Uses of Transaction in org.apache.activemq.store.kahadb.scheduler
Methods in org.apache.activemq.store.kahadb.scheduler with parameters of type Transaction Modifier and Type Method Description protected voidJobSchedulerStoreImpl. checkpointUpdate(Transaction tx, boolean cleanup)protected voidJobSchedulerStoreImpl. decrementJournalCount(Transaction tx, HashMap<Integer,Integer> decrementsByFileIds)Removes multiple references for the Journal log file indicated in the given Location map.protected voidJobSchedulerStoreImpl. decrementJournalCount(Transaction tx, Location location)Removes one reference for the Journal log file indicated in the given Location value.protected Iterator<org.apache.activemq.store.kahadb.scheduler.JobLocation>JobSchedulerImpl. getAllScheduledJobs(Transaction tx)Walks the Scheduled Job Tree and collects the add location and last update location for all scheduled jobs.protected voidJobSchedulerStoreImpl. incrementJournalCount(Transaction tx, Location location)Adds a reference for the journal log file pointed to by the given Location value.voidJobSchedulerKahaDBMetaData. initialize(Transaction tx)voidJobSchedulerKahaDBMetaData. load(Transaction tx)voidJobSchedulerKahaDBMetaData. loadScheduler(Transaction tx, Map<String,JobSchedulerImpl> schedulers)Loads all the stored JobScheduler instances into the provided map.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. 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. removeAll(Transaction tx)Removes all jobs from the schedulers index.protected voidJobSchedulerImpl. removeInRange(Transaction tx, long start, long finish, Location location)Removes all scheduled jobs within the target range.protected booleanJobSchedulerImpl. removeJobAtTime(Transaction tx, String jobId, long executionTime)Removes a Job from the index using it's Id value and the time it is currently set to be executed.
-