Uses of Class
org.apache.cassandra.transport.Dispatcher.RequestTime
-
-
Uses of Dispatcher.RequestTime in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 with parameters of type Dispatcher.RequestTime Modifier and Type Method Description ResultMessageCQLStatement. execute(QueryState state, QueryOptions options, Dispatcher.RequestTime requestTime)Execute the statement and return the resulting result or null if there is no result.static UntypedResultSetQueryProcessor. executeInternalWithNow(int nowInSec, Dispatcher.RequestTime requestTime, java.lang.String query, java.lang.Object... values)A special version of executeLocally that takes the time used as "now" for the query in argument.ResultMessageCustomPayloadMirroringQueryHandler. process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryHandler. process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)static ResultMessageQueryProcessor. process(java.lang.String queryString, ConsistencyLevel cl, QueryState queryState, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. process(CQLStatement prepared, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageCustomPayloadMirroringQueryHandler. processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryHandler. processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processBatch(BatchStatement batch, QueryState queryState, BatchQueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageCustomPayloadMirroringQueryHandler. processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryHandler. processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processPrepared(CQLStatement statement, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processStatement(CQLStatement statement, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.cql3.statements
-
Uses of Dispatcher.RequestTime in org.apache.cassandra.cql3.statements.schema
Methods in org.apache.cassandra.cql3.statements.schema with parameters of type Dispatcher.RequestTime Modifier and Type Method Description ResultMessageAlterSchemaStatement. execute(QueryState state, QueryOptions options, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type Dispatcher.RequestTime Modifier and Type Method Description Message<ReadCommand>ReadCommand. createMessage(boolean trackRepairedData, Dispatcher.RequestTime requestTime)Creates a message for this command.PartitionIteratorPartitionRangeReadCommand. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)PartitionIteratorPartitionRangeReadCommand.VirtualTablePartitionRangeReadCommand. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)PartitionIteratorReadQuery. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)Executes the query at the provided consistency level.PartitionIteratorSinglePartitionReadCommand. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)PartitionIteratorSinglePartitionReadCommand.Group. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)PartitionIteratorSinglePartitionReadCommand.VirtualTableGroup. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime)PartitionIteratorSinglePartitionReadCommand.VirtualTableSinglePartitionReadCommand. execute(ConsistencyLevel consistency, ClientState state, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.locator
Methods in org.apache.cassandra.locator with parameters of type Dispatcher.RequestTime Modifier and Type Method Description <T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy. getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime)<T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy. getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime, ConsistencyLevel idealConsistencyLevel) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.net
Methods in org.apache.cassandra.net with parameters of type Dispatcher.RequestTime Modifier and Type Method Description static <T> Message<T>Message. outWithFlags(Verb verb, T payload, Dispatcher.RequestTime requestTime, java.util.List<MessageFlag> flags) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return Dispatcher.RequestTime Modifier and Type Method Description Dispatcher.RequestTimeAbstractWriteResponseHandler. getRequestTime()Methods in org.apache.cassandra.service with parameters of type Dispatcher.RequestTime Modifier and Type Method Description voidStorageProxy.WritePerformer. apply(IMutation mutation, ReplicaPlan.ForWrite targets, AbstractWriteResponseHandler<IMutation> responseHandler, java.lang.String localDataCenter, Dispatcher.RequestTime requestTime)static AbstractWriteResponseHandler<IMutation>StorageProxy. applyCounterMutationOnCoordinator(CounterMutation cm, java.lang.String localDataCenter, Dispatcher.RequestTime requestTime)static AbstractWriteResponseHandler<IMutation>StorageProxy. applyCounterMutationOnLeader(CounterMutation cm, java.lang.String localDataCenter, java.lang.Runnable callback, Dispatcher.RequestTime requestTime)static RowIteratorStorageProxy. cas(java.lang.String keyspaceName, java.lang.String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, int nowInSeconds, Dispatcher.RequestTime requestTime)Apply @param updates if and only if the current values in the row for @param key match the provided @param conditions.static PartitionIteratorStorageProxy. getRangeSlice(PartitionRangeReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)static RowIteratorStorageProxy. legacyCas(java.lang.String keyspaceName, java.lang.String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, int nowInSeconds, Dispatcher.RequestTime requestTime)static voidStorageProxy. mutate(java.util.List<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)Use this method to have these Mutations applied across all replicas.static voidStorageProxy. mutateAtomically(java.util.Collection<Mutation> mutations, ConsistencyLevel consistency_level, boolean requireQuorumForRemove, Dispatcher.RequestTime requestTime)See mutate.static AbstractWriteResponseHandler<IMutation>StorageProxy. mutateCounter(CounterMutation cm, java.lang.String localDataCenter, Dispatcher.RequestTime requestTime)Handle counter mutation on the coordinator host.static voidStorageProxy. mutateMV(java.nio.ByteBuffer dataKey, java.util.Collection<Mutation> mutations, boolean writeCommitLog, java.util.concurrent.atomic.AtomicLong baseComplete, Dispatcher.RequestTime requestTime)Use this method to have these Mutations applied across all replicas.static voidStorageProxy. mutateWithTriggers(java.util.List<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, boolean mutateAtomically, Dispatcher.RequestTime requestTime)static AbstractWriteResponseHandler<IMutation>StorageProxy. performWrite(IMutation mutation, ConsistencyLevel consistencyLevel, java.lang.String localDataCenter, StorageProxy.WritePerformer performer, java.lang.Runnable callback, WriteType writeType, Dispatcher.RequestTime requestTime)Perform the write of a mutation given a WritePerformer.static PartitionIteratorStorageProxy. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)Performs the actual reading of a row out of the StorageService, fetching a specific set of column names from a given column family.static RowIteratorStorageProxy. readOne(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)static voidStorageProxy. sendToHintedReplicas(Mutation mutation, ReplicaPlan.ForWrite plan, AbstractWriteResponseHandler<IMutation> responseHandler, java.lang.String localDataCenter, Stage stage, Dispatcher.RequestTime requestTime)Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node is not available.Constructors in org.apache.cassandra.service with parameters of type Dispatcher.RequestTime Constructor Description AbstractWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime)BatchlogResponseHandler(AbstractWriteResponseHandler<T> wrapped, int requiredBeforeFinish, BatchlogResponseHandler.BatchlogCleanup cleanup, Dispatcher.RequestTime requestTime)DatacenterSyncWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime)DatacenterWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime)LocalReadRunnable(ReadCommand command, ReadCallback handler, Dispatcher.RequestTime requestTime)LocalReadRunnable(ReadCommand command, ReadCallback handler, Dispatcher.RequestTime requestTime, boolean trackRepairedStatus)WriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, java.lang.Runnable callback, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime)WriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, WriteType writeType, java.util.function.Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.pager
Methods in org.apache.cassandra.service.pager with parameters of type Dispatcher.RequestTime Modifier and Type Method Description PartitionIteratorAggregationQueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)PartitionIteratorMultiPartitionPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)PartitionIteratorQueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)Fetches the next page.Constructors in org.apache.cassandra.service.pager with parameters of type Dispatcher.RequestTime Constructor Description AggregationPartitionIterator(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)AggregationPartitionIterator(int pageSize, ReadExecutionController executionController, Dispatcher.RequestTime requestTime)GroupByPartitionIterator(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)GroupByPartitionIterator(int pageSize, ReadExecutionController executionController, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos with parameters of type Dispatcher.RequestTime Modifier and Type Method Description static PartitionIteratorPaxos. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyForConsensus, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.paxos.v1
Constructors in org.apache.cassandra.service.paxos.v1 with parameters of type Dispatcher.RequestTime Constructor Description AbstractPaxosCallback(int targets, ConsistencyLevel consistency, Dispatcher.RequestTime requestTime)PrepareCallback(DecoratedKey key, TableMetadata metadata, int targets, ConsistencyLevel consistency, Dispatcher.RequestTime requestTime)ProposeCallback(int totalTargets, int requiredTargets, boolean failFast, ConsistencyLevel consistency, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.reads
Fields in org.apache.cassandra.service.reads declared as Dispatcher.RequestTime Modifier and Type Field Description protected Dispatcher.RequestTimeAbstractReadExecutor. requestTimeprotected Dispatcher.RequestTimeResponseResolver. requestTimeMethods in org.apache.cassandra.service.reads with parameters of type Dispatcher.RequestTime Modifier and Type Method Description static UnfilteredPartitionIteratorShortReadProtection. extend(Replica source, java.lang.Runnable preFetchCallback, UnfilteredPartitionIterator partitions, ReadCommand command, DataLimits.Counter mergedResultCounter, Dispatcher.RequestTime requestTime, boolean enforceStrictLiveness)static AbstractReadExecutorAbstractReadExecutor. getReadExecutor(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)Constructors in org.apache.cassandra.service.reads with parameters of type Dispatcher.RequestTime Constructor Description DataResolver(ReadCommand command, java.util.function.Supplier<? extends P> replicaPlan, ReadRepair<E,P> readRepair, Dispatcher.RequestTime requestTime)DataResolver(ReadCommand command, java.util.function.Supplier<? extends P> replicaPlan, ReadRepair<E,P> readRepair, Dispatcher.RequestTime requestTime, boolean trackRepairedStatus)DigestResolver(ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, Dispatcher.RequestTime requestTime)NeverSpeculatingReadExecutor(ColumnFamilyStore cfs, ReadCommand command, ReplicaPlan.ForTokenRead replicaPlan, Dispatcher.RequestTime requestTime, boolean logFailedSpeculation)ReadCallback(ResponseResolver<E,P> resolver, ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, Dispatcher.RequestTime requestTime)ResponseResolver(ReadCommand command, java.util.function.Supplier<? extends P> replicaPlan, Dispatcher.RequestTime requestTime)ShortReadPartitionsProtection(ReadCommand command, Replica source, java.lang.Runnable preFetchCallback, DataLimits.Counter singleResultCounter, DataLimits.Counter mergedResultCounter, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.reads.range
Methods in org.apache.cassandra.service.reads.range with parameters of type Dispatcher.RequestTime Modifier and Type Method Description static PartitionIteratorRangeCommands. partitions(PartitionRangeReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.service.reads.repair
Fields in org.apache.cassandra.service.reads.repair declared as Dispatcher.RequestTime Modifier and Type Field Description protected Dispatcher.RequestTimeAbstractReadRepair. requestTimeMethods in org.apache.cassandra.service.reads.repair with parameters of type Dispatcher.RequestTime Modifier and Type Method Description static <E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E,P>>
ReadRepair<E,P>ReadRepair. create(ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, Dispatcher.RequestTime requestTime)<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E,P>>
ReadRepair<E,P>ReadRepair.Factory. create(ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, Dispatcher.RequestTime requestTime)Constructors in org.apache.cassandra.service.reads.repair with parameters of type Dispatcher.RequestTime Constructor Description AbstractReadRepair(ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, Dispatcher.RequestTime requestTime) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport that return Dispatcher.RequestTime Modifier and Type Method Description static Dispatcher.RequestTimeDispatcher.RequestTime. forImmediateExecution()Methods in org.apache.cassandra.transport with parameters of type Dispatcher.RequestTime Modifier and Type Method Description Message.ResponseMessage.Request. execute(QueryState queryState, Dispatcher.RequestTime requestTime)protected abstract Message.ResponseMessage.Request. execute(QueryState queryState, Dispatcher.RequestTime requestTime, boolean traceRequest) -
Uses of Dispatcher.RequestTime in org.apache.cassandra.transport.messages
Methods in org.apache.cassandra.transport.messages with parameters of type Dispatcher.RequestTime Modifier and Type Method Description protected Message.ResponseAuthResponse. execute(QueryState queryState, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseBatchMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseExecuteMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseOptionsMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponsePrepareMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseQueryMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseRegisterMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)protected Message.ResponseStartupMessage. execute(QueryState state, Dispatcher.RequestTime requestTime, boolean traceRequest)
-