Uses of Class
org.apache.cassandra.db.commitlog.CommitLogPosition
Packages that use CommitLogPosition
Package
Description
-
Uses of CommitLogPosition in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return CommitLogPositionModifier and TypeMethodDescriptionColumnFamilyStore.forceBlockingFlush(ColumnFamilyStore.FlushReason reason) CassandraWriteContext.getPosition()static CommitLogPositionSystemKeyspace.getTruncatedPosition(TableId id) Methods in org.apache.cassandra.db that return types with arguments of type CommitLogPositionModifier and TypeMethodDescriptionColumnFamilyStore.dumpMemtable()Drops current memtable without flushing to disk.ColumnFamilyStore.forceFlush(ColumnFamilyStore.FlushReason reason) Flush if there is unflushed data in the memtablesColumnFamilyStore.signalFlushRequired(Memtable memtable, ColumnFamilyStore.FlushReason reason) ColumnFamilyStore.switchMemtable(ColumnFamilyStore.FlushReason reason) ColumnFamilyStore.switchMemtableIfCurrent(Memtable memtable, ColumnFamilyStore.FlushReason reason) Switches the memtable iff the live memtable is the one providedMethods in org.apache.cassandra.db with parameters of type CommitLogPositionModifier and TypeMethodDescriptionFuture<?>ColumnFamilyStore.forceFlush(CommitLogPosition flushIfDirtyBefore) Flush if there is unflushed data that was written to the CommitLog before @param flushIfDirtyBefore (inclusive).static voidSystemKeyspace.saveTruncationRecord(ColumnFamilyStore cfs, long truncatedAt, CommitLogPosition position) Method parameters in org.apache.cassandra.db with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionColumnFamilyStore.createMemtable(AtomicReference<CommitLogPosition> commitLogUpperBound) ColumnFamilyStore.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, LifecycleNewTracker lifecycleNewTracker) ColumnFamilyStore.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, SerializationHeader header, LifecycleNewTracker lifecycleNewTracker) Constructors in org.apache.cassandra.db with parameters of type CommitLogPositionModifierConstructorDescriptionCassandraWriteContext(OpOrder.Group opGroup, CommitLogPosition position) -
Uses of CommitLogPosition in org.apache.cassandra.db.commitlog
Fields in org.apache.cassandra.db.commitlog declared as CommitLogPositionFields in org.apache.cassandra.db.commitlog with type parameters of type CommitLogPositionModifier and TypeFieldDescriptionstatic final Comparator<CommitLogPosition>CommitLogPosition.comparatorMethods in org.apache.cassandra.db.commitlog that return CommitLogPositionModifier and TypeMethodDescriptionAdd a Mutation to the commit log.CommitLogPosition.clone()CommitLogPosition.CommitLogPositionSerializer.deserialize(DataInputPlus in) static CommitLogPositionCommitLogReplayer.firstNotCovered(Collection<IntervalSet<CommitLogPosition>> ranges) Find the earliest commit log position that is not covered by the known flushed ranges for some table.CommitLogPosition.CommitLogPositionSerializer.fromString(String position) CommitLogSegment.Allocation.getCommitLogPosition()Returns the position in the CommitLogSegment at the end of this allocation.CommitLogSegment.getCurrentCommitLogPosition()CommitLog.getCurrentPosition()Methods in org.apache.cassandra.db.commitlog that return types with arguments of type CommitLogPositionModifier and TypeMethodDescriptionstatic IntervalSet<CommitLogPosition>CommitLogReplayer.persistedIntervals(Iterable<SSTableReader> onDisk, CommitLogPosition truncatedAt, UUID localhostId) A set of known safe-to-discard commit log replay positions, based on the range covered by on disk sstables and those prior to the most recent truncation recordMethods in org.apache.cassandra.db.commitlog with parameters of type CommitLogPositionModifier and TypeMethodDescriptionintCommitLogPosition.compareTo(CommitLogPosition other) booleanCommitLogSegment.contains(CommitLogPosition context) Check to see if a certain CommitLogPosition is contained by this segment file.voidCommitLog.discardCompletedSegments(TableId id, CommitLogPosition lowerBound, CommitLogPosition upperBound) Modifies the per-CF dirty cursors of any commit log segments for the column family according to the position given.voidCommitLogSegment.markClean(TableId tableId, CommitLogPosition startPosition, CommitLogPosition endPosition) Marks the ColumnFamily specified by id as clean for this log segment.static IntervalSet<CommitLogPosition>CommitLogReplayer.persistedIntervals(Iterable<SSTableReader> onDisk, CommitLogPosition truncatedAt, UUID localhostId) A set of known safe-to-discard commit log replay positions, based on the range covered by on disk sstables and those prior to the most recent truncation recordvoidCommitLogReader.readAllFiles(CommitLogReadHandler handler, File[] files, CommitLogPosition minPosition) Reads all passed in files with minPosition, no start, and no mutation limit.voidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, CommitLogPosition minPosition, boolean tolerateTruncation) Reads all mutations from passed in file from minPositionvoidCommitLogReader.readCommitLogSegment(CommitLogReadHandler handler, File file, CommitLogPosition minPosition, int mutationLimit, boolean tolerateTruncation) Reads mutations from file, handing them off to handlerprotected voidCommitLogReader.readMutation(CommitLogReadHandler handler, byte[] inputBuffer, int size, CommitLogPosition minPosition, int entryLocation, CommitLogDescriptor desc) Deserializes and passes a Mutation to the ICommitLogReadHandler requestedvoidCommitLogPosition.CommitLogPositionSerializer.serialize(CommitLogPosition clsp, DataOutputPlus out) longCommitLogPosition.CommitLogPositionSerializer.serializedSize(CommitLogPosition clsp) CommitLogPosition.CommitLogPositionSerializer.toString(CommitLogPosition position) Method parameters in org.apache.cassandra.db.commitlog with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionstatic CommitLogPositionCommitLogReplayer.firstNotCovered(Collection<IntervalSet<CommitLogPosition>> ranges) Find the earliest commit log position that is not covered by the known flushed ranges for some table.Constructors in org.apache.cassandra.db.commitlog with parameters of type CommitLogPositionModifierConstructorDescriptionCommitLogArchiver(String archiveCommand, String restoreCommand, String restoreDirectories, long restorePointInTimeInMicroseconds, CommitLogPosition snapshotCommitLogPosition, TimeUnit precision) -
Uses of CommitLogPosition in org.apache.cassandra.db.compaction
Method parameters in org.apache.cassandra.db.compaction with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionAbstractCompactionStrategy.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) abstract SSTableMultiWriterAbstractStrategyHolder.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) CompactionStrategyHolder.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) CompactionStrategyManager.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) PendingRepairHolder.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) UnifiedCompactionStrategy.createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker) Create the sstable writer used for flushing. -
Uses of CommitLogPosition in org.apache.cassandra.db.compaction.unified
Constructor parameters in org.apache.cassandra.db.compaction.unified with type arguments of type CommitLogPositionModifierConstructorDescriptionShardedMultiWriter(ColumnFamilyStore cfs, Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, IntervalSet<CommitLogPosition> commitLogPositions, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker, ShardTracker boundaries) -
Uses of CommitLogPosition in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle with parameters of type CommitLogPositionModifier and TypeMethodDescriptionTracker.getMemtableFor(OpOrder.Group opGroup, CommitLogPosition commitLogPosition) get the Memtable that the ordered writeOp should be directed to -
Uses of CommitLogPosition in org.apache.cassandra.db.memtable
Subclasses of CommitLogPosition in org.apache.cassandra.db.memtableModifier and TypeClassDescriptionstatic final classSpecial commit log position marker used in the upper bound marker setting process (seeColumnFamilyStore.setCommitLogUpperBound(java.util.concurrent.atomic.AtomicReference<org.apache.cassandra.db.commitlog.CommitLogPosition>)andMemtable.accepts(org.apache.cassandra.utils.concurrent.OpOrder.Group, org.apache.cassandra.db.commitlog.CommitLogPosition))Methods in org.apache.cassandra.db.memtable that return CommitLogPositionModifier and TypeMethodDescriptionAbstractMemtable.AbstractFlushablePartitionSet.commitLogLowerBound()Memtable.FlushablePartitionSet.commitLogLowerBound()The commit log position at the time that this memtable was createdMemtable.FlushablePartitionSet.commitLogUpperBound()The commit log position at the time that this memtable was switched outAbstractMemtableWithCommitlog.getApproximateCommitLogLowerBound()Memtable.getApproximateCommitLogLowerBound()Approximate commit log lower bound, <= getCommitLogLowerBound, used as a time stamp for orderingAbstractMemtableWithCommitlog.getCommitLogLowerBound()Memtable.getCommitLogLowerBound()The commit log position at the time that this memtable was createdMethods in org.apache.cassandra.db.memtable that return types with arguments of type CommitLogPositionModifier and TypeMethodDescriptionMemtable.Owner.signalFlushRequired(Memtable memtable, ColumnFamilyStore.FlushReason reason) Signal to the owner that a flush is required (e.g.Methods in org.apache.cassandra.db.memtable with parameters of type CommitLogPositionModifier and TypeMethodDescriptionbooleanAbstractMemtableWithCommitlog.accepts(OpOrder.Group opGroup, CommitLogPosition commitLogPosition) booleanMemtable.accepts(OpOrder.Group opGroup, CommitLogPosition commitLogPosition) Decide if this memtable should take a write with the given parameters, or if the write should go to the next memtable.booleanAbstractMemtableWithCommitlog.mayContainDataBefore(CommitLogPosition position) booleanMemtable.mayContainDataBefore(CommitLogPosition position) True if the memtable can contain any data that was written before the given commit log positionMethod parameters in org.apache.cassandra.db.memtable with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionMemtable.Factory.create(AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadaRef, Memtable.Owner owner) Create a memtable.SkipListMemtableFactory.create(AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadaRef, Memtable.Owner owner) voidAbstractAllocatorMemtable.switchOut(OpOrder.Barrier writeBarrier, AtomicReference<CommitLogPosition> commitLogUpperBound) voidAbstractMemtableWithCommitlog.switchOut(OpOrder.Barrier writeBarrier, AtomicReference<CommitLogPosition> commitLogUpperBound) voidMemtable.switchOut(OpOrder.Barrier writeBarrier, AtomicReference<CommitLogPosition> commitLogUpperBound) Called to tell the memtable that it is being switched out and will be flushed (or dropped) and discarded.Constructors in org.apache.cassandra.db.memtable with parameters of type CommitLogPositionConstructor parameters in org.apache.cassandra.db.memtable with type arguments of type CommitLogPositionModifierConstructorDescriptionAbstractAllocatorMemtable(AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadataRef, Memtable.Owner owner) AbstractMemtableWithCommitlog(TableMetadataRef metadataRef, AtomicReference<CommitLogPosition> commitLogLowerBound) protectedSkipListMemtable(AtomicReference<CommitLogPosition> commitLogLowerBound, TableMetadataRef metadataRef, Memtable.Owner owner) -
Uses of CommitLogPosition in org.apache.cassandra.db.view
Methods in org.apache.cassandra.db.view with parameters of type CommitLogPositionModifier and TypeMethodDescriptionvoidTableViews.truncateBlocking(CommitLogPosition replayAfter, long truncatedAt) -
Uses of CommitLogPosition in org.apache.cassandra.io.sstable
Method parameters in org.apache.cassandra.io.sstable with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionstatic SSTableMultiWriterSimpleSSTableMultiWriter.create(Descriptor descriptor, long keyCount, long repairedAt, TimeUUID pendingRepair, boolean isTransient, TableMetadataRef metadata, IntervalSet<CommitLogPosition> commitLogPositions, int sstableLevel, SerializationHeader header, Collection<Index.Group> indexGroups, LifecycleNewTracker lifecycleNewTracker, SSTable.Owner owner) -
Uses of CommitLogPosition in org.apache.cassandra.io.sstable.metadata
Fields in org.apache.cassandra.io.sstable.metadata with type parameters of type CommitLogPositionModifier and TypeFieldDescriptionprotected IntervalSet<CommitLogPosition>MetadataCollector.commitLogIntervalsfinal IntervalSet<CommitLogPosition>StatsMetadata.commitLogIntervalsstatic final ISerializer<IntervalSet<CommitLogPosition>>StatsMetadata.commitLogPositionSetSerializerMethod parameters in org.apache.cassandra.io.sstable.metadata with type arguments of type CommitLogPositionModifier and TypeMethodDescriptionMetadataCollector.commitLogIntervals(IntervalSet<CommitLogPosition> commitLogIntervals) Constructor parameters in org.apache.cassandra.io.sstable.metadata with type arguments of type CommitLogPositionModifierConstructorDescriptionStatsMetadata(EstimatedHistogram estimatedPartitionSize, EstimatedHistogram estimatedCellPerPartitionCount, IntervalSet<CommitLogPosition> commitLogIntervals, long minTimestamp, long maxTimestamp, long minLocalDeletionTime, long maxLocalDeletionTime, int minTTL, int maxTTL, double compressionRatio, TombstoneHistogram estimatedTombstoneDropTime, int sstableLevel, List<AbstractType<?>> clusteringTypes, Slice coveredClustering, boolean hasLegacyCounterShards, long repairedAt, long totalColumnsSet, long totalRows, double tokenSpaceCoverage, UUID originatingHostId, TimeUUID pendingRepair, boolean isTransient, boolean hasPartitionLevelDeletions, ByteBuffer firstKey, ByteBuffer lastKey)