Uses of Class
org.apache.cassandra.net.Message
Packages that use Message
Package
Description
Hints subsystem consists of several components.
-
Uses of Message in org.apache.cassandra.batchlog
Methods in org.apache.cassandra.batchlog with parameters of type Message -
Uses of Message in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return MessageModifier and TypeMethodDescriptionstatic <T> Message<T>MessageParams.addToMessage(Message<T> message) ReadCommand.createMessage(boolean trackRepairedData, Dispatcher.RequestTime requestTime) Creates a message for this command.Methods in org.apache.cassandra.db with parameters of type MessageModifier and TypeMethodDescriptionstatic <T> Message<T>MessageParams.addToMessage(Message<T> message) protected voidCounterMutationVerbHandler.applyMutation(Message<CounterMutation> message, InetAddressAndPort respondToAddress) protected voidMutationVerbHandler.applyMutation(Message<Mutation> message, InetAddressAndPort respondToAddress) voidvoidvoidReadCommandVerbHandler.doVerb(Message<ReadCommand> message) voidvoidTruncateVerbHandler.doVerb(Message<TruncateRequest> message) voidAbstractMutationVerbHandler.processMessage(Message<T> message, InetAddressAndPort respondTo) -
Uses of Message in org.apache.cassandra.gms
Methods in org.apache.cassandra.gms with parameters of type MessageModifier and TypeMethodDescriptionvoidGossipDigestAck2VerbHandler.doVerb(Message<GossipDigestAck2> message) voidGossipDigestAckVerbHandler.doVerb(Message<GossipDigestAck> message) voidGossipDigestSynVerbHandler.doVerb(Message<GossipDigestSyn> message) voidGossipShutdownVerbHandler.doVerb(Message<GossipShutdown> message) void -
Uses of Message in org.apache.cassandra.hints
Methods in org.apache.cassandra.hints with parameters of type Message -
Uses of Message in org.apache.cassandra.metrics
Methods in org.apache.cassandra.metrics with parameters of type MessageModifier and TypeMethodDescriptionvoidMessagingMetrics.recordDroppedMessage(Message<?> message, long timeElapsed, TimeUnit timeUnit) -
Uses of Message in org.apache.cassandra.net
Methods in org.apache.cassandra.net that return MessageModifier and TypeMethodDescriptionMessage.Builder.build()<T> Message<T>Message.Serializer.deserialize(DataInputPlus in, InetAddressAndPort peer, int version) <T> Message<T>Message.Serializer.deserialize(DataInputPlus in, Message.Header header, int version) A partial variant of deserialize, taking in a previously deserializedMessage.Headeras an argument.Message.emptyResponse()Builds a response Message with no payload, and all the right fields inferred from request MessageMessage.failureResponse(RequestFailureReason reason) Builds a failure response Message with an explicit reason, and fields inferred from request Messagestatic <T> Message<T>Message.internalResponse(Verb verb, T payload) static <T> Message<T>Make a requestMessagewith supplied verb and payload.static <T> Message<T>static <T> Message<T>Message.outWithFlag(Verb verb, T payload, MessageFlag flag) static <T> Message<T>Message.outWithFlags(Verb verb, T payload, MessageFlag flag1, MessageFlag flag2) static <T> Message<T>Message.outWithFlags(Verb verb, T payload, Dispatcher.RequestTime requestTime, List<MessageFlag> flags) static <T> Message<T>Message.remoteResponse(InetAddressAndPort from, Verb verb, T payload) Used by theMultiRangeReadCommandto split multi-range responses from a replica into single-range responses.<T> Message<T>Message.responseWith(T payload) Builds a response Message with provided payload, and all the right fields inferred from request Messagestatic <T> Message<T>Message.synthetic(InetAddressAndPort from, Verb verb, T payload) Message.withFlag(MessageFlag flag) Message.withForwardTo(ForwardingInfo peers) Message.withFrom(InetAddressAndPort from) Message.withParams(Map<ParamType, Object> values) <V> Message<V>Message.withPayload(V newPayload) Methods in org.apache.cassandra.net that return types with arguments of type MessageModifier and TypeMethodDescriptionMessageDelivery.sendWithResult(Message<REQ> message, InetAddressAndPort to) MessagingService.sendWithResult(Message<REQ> message, InetAddressAndPort to) Methods in org.apache.cassandra.net with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidOutboundSink.accept(Message<?> message, InetAddressAndPort to, ConnectionType connectionType) voidOutboundSink.Sink.accept(Message<?> message, InetAddressAndPort to, ConnectionType connectionType) voidRequestCallbacks.addWithExpiration(RequestCallback<?> cb, Message<?> message, InetAddressAndPort to) Register the providedRequestCallback, inferring expiry and id from the providedMessage.voidRequestCallbacks.addWithExpiration(AbstractWriteResponseHandler<?> cb, Message<?> message, Replica to) booleanDeprecated.See CASSANDRA-15066static <T> Message.Builder<T>voidThis method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).voidThis is the main entry point for enqueuing a message to be sent to the remote peer.voidOutboundConnections.enqueue(Message msg, ConnectionType type) Select the appropriate connection for the provided message and use it to send the message.voidRequestCallbacks.onDiscardOnClose(Message<?> message, InetAddressAndPort peer) voidRequestCallbacks.onExpired(Message<?> message, InetAddressAndPort peer) voidRequestCallbacks.onFailedSerialize(Message<?> message, InetAddressAndPort peer, int messagingVersion, int bytesWrittenToNetwork, Throwable failure) voidRequestCallbacks.onOverloaded(Message<?> message, InetAddressAndPort peer) voidAsyncOneResponse.onResponse(Message<T> response) voidRequestCallback.onResponse(Message<T> msg) voidRequestCallbacks.removeAndRespond(long id, InetAddressAndPort peer, Message message) <V> void<V> voidSend a message to a given endpoint.default voidMessageDelivery.respondWithFailure(RequestFailureReason reason, Message<?> message) <REQ> voidMessageDelivery.send(Message<REQ> message, InetAddressAndPort to) voidMessagingService.send(Message message, InetAddressAndPort to) Send a message to a given endpoint.voidMessagingService.send(Message message, InetAddressAndPort to, ConnectionType specifyConnection) <REQ,RSP> void MessageDelivery.sendWithCallback(Message<REQ> message, InetAddressAndPort to, RequestCallback<RSP> cb) <REQ,RSP> void MessageDelivery.sendWithCallback(Message<REQ> message, InetAddressAndPort to, RequestCallback<RSP> cb, ConnectionType specifyConnection) voidMessagingService.sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb) Send a non-mutation message to a given endpoint.voidMessagingService.sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb, ConnectionType specifyConnection) MessageDelivery.sendWithResult(Message<REQ> message, InetAddressAndPort to) MessagingService.sendWithResult(Message<REQ> message, InetAddressAndPort to) voidMessagingService.sendWriteWithCallback(Message message, Replica to, AbstractWriteResponseHandler<?> handler) Send a mutation message or a Paxos Commit to a given endpoint.<T> voidMessage.Serializer.serialize(Message<T> message, DataOutputPlus out, int version) Method parameters in org.apache.cassandra.net with type arguments of type MessageModifier and TypeMethodDescriptionvoidvoidOutboundSink.add(BiPredicate<Message<?>, InetAddressAndPort> allow) voidvoidOutboundSink.remove(BiPredicate<Message<?>, InetAddressAndPort> allow) -
Uses of Message in org.apache.cassandra.repair
Methods in org.apache.cassandra.repair with parameters of type MessageModifier and TypeMethodDescriptionvoidRepairMessageVerbHandler.doVerb(Message<RepairMessage> message) voidRepairSession.syncComplete(RepairJobDesc desc, Message<SyncResponse> message) Notify this session that sync completed/failed with givenSyncNodePair.voidRepairSession.validationComplete(RepairJobDesc desc, Message<ValidationResponse> message) Receive merkle tree response or failed response fromendpointfor current repair job. -
Uses of Message in org.apache.cassandra.repair.consistent
Methods in org.apache.cassandra.repair.consistent with parameters of type MessageModifier and TypeMethodDescriptionvoidLocalSessions.handleFinalizeCommitMessage(Message<? extends RepairMessage> message) Finalizes the repair session, completing it as successful.voidCoordinatorSession.handleFinalizePromise(Message<FinalizePromise> message) voidCoordinatorSessions.handleFinalizePromiseMessage(Message<? extends RepairMessage> message) voidLocalSessions.handleFinalizeProposeMessage(Message<? extends RepairMessage> message) voidLocalSessions.handlePrepareMessage(Message<? extends RepairMessage> message) The PrepareConsistentRequest promotes the parent repair session to a consistent incremental session, and isolates the data to be repaired from the rest of the table's data No response is sent to the repair coordinator until the data preparation / isolation has completed successfully.voidCoordinatorSession.handlePrepareResponse(Message<PrepareConsistentResponse> msg) voidCoordinatorSessions.handlePrepareResponse(Message<? extends RepairMessage> msg) protected voidLocalSessions.sendMessage(InetAddressAndPort destination, Message<? extends RepairMessage> message) -
Uses of Message in org.apache.cassandra.repair.messages
Methods in org.apache.cassandra.repair.messages with parameters of type MessageModifier and TypeMethodDescriptionstatic voidRepairMessage.sendAck(SharedContext ctx, Message<? extends RepairMessage> message) static voidRepairMessage.sendFailureResponse(SharedContext ctx, Message<?> respondTo) -
Uses of Message in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidSchemaPushVerbHandler.doVerb(Message<Collection<Mutation>> message) voidMethod parameters in org.apache.cassandra.schema with type arguments of type Message -
Uses of Message in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidSnapshotVerbHandler.doVerb(Message<SnapshotCommand> message) voidActiveRepairService.handleMessage(Message<? extends RepairMessage> message) protected final voidAbstractWriteResponseHandler.logResponseToIdealCLDelegate(Message<T> m) This logs the response but doesn't do any further processing related to this write response handler on whether the CL was achieved.abstract voidAbstractWriteResponseHandler.onResponse(Message<T> msg) null message means "response from local write"voidBatchlogResponseHandler.onResponse(Message<T> msg) voidDatacenterSyncWriteResponseHandler.onResponse(Message<T> message) voidDatacenterWriteResponseHandler.onResponse(Message<T> message) voidTruncateResponseHandler.onResponse(Message<TruncateResponse> message) voidWriteResponseHandler.onResponse(Message<T> m) -
Uses of Message in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos with parameters of type MessageModifier and TypeMethodDescriptionvoidPaxosCommit.RequestHandler.doVerb(Message<Commit.Agreed> message) voidPaxosCommitAndPrepare.RequestHandler.doVerb(Message<org.apache.cassandra.service.paxos.PaxosCommitAndPrepare.Request> message) voidPaxosPrepare.RequestHandler.doVerb(Message<org.apache.cassandra.service.paxos.PaxosPrepare.Request> message) voidPaxosPrepareRefresh.RequestHandler.doVerb(Message<org.apache.cassandra.service.paxos.PaxosPrepareRefresh.Request> message) voidPaxosPropose.RequestHandler.doVerb(Message<org.apache.cassandra.service.paxos.PaxosPropose.Request> message) voidPaxosRepair.RequestHandler.doVerb(Message<org.apache.cassandra.service.paxos.PaxosRepair.Request> message) voidPaxosCommit.onResponse(Message<NoPayload> response) Record a success responsevoidPaxosPrepareRefresh.onResponse(Message<org.apache.cassandra.service.paxos.PaxosPrepareRefresh.Response> message) voidPaxosRequestCallback.onResponse(Message<T> message) -
Uses of Message in org.apache.cassandra.service.paxos.cleanup
Methods in org.apache.cassandra.service.paxos.cleanup with parameters of type MessageModifier and TypeMethodDescriptionvoidPaxosRepairState.addCleanupHistory(Message<PaxosCleanupHistory> message) voidPaxosCleanupComplete.onResponse(Message<Void> msg) voidPaxosCleanupSession.onResponse(Message<Void> msg) voidPaxosFinishPrepareCleanup.onResponse(Message<Void> msg) voidPaxosStartPrepareCleanup.onResponse(Message<PaxosCleanupHistory> msg) -
Uses of Message in org.apache.cassandra.service.paxos.v1
Methods in org.apache.cassandra.service.paxos.v1 with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidPrepareCallback.onResponse(Message<PrepareResponse> message) voidProposeCallback.onResponse(Message<Boolean> msg) voidPrepareVerbHandler.processMessage(Message<Commit> message) -
Uses of Message in org.apache.cassandra.service.reads
Fields in org.apache.cassandra.service.reads with type parameters of type MessageModifier and TypeFieldDescriptionprotected final Accumulator<Message<ReadResponse>>ResponseResolver.responsesMethods in org.apache.cassandra.service.reads that return types with arguments of type MessageMethods in org.apache.cassandra.service.reads with parameters of type MessageModifier and TypeMethodDescriptionvoidReadCallback.onResponse(Message<ReadResponse> message) voidDigestResolver.preprocess(Message<ReadResponse> message) voidResponseResolver.preprocess(Message<ReadResponse> message) -
Uses of Message in org.apache.cassandra.service.reads.repair
Methods in org.apache.cassandra.service.reads.repair with parameters of type MessageModifier and TypeMethodDescriptionvoidBlockingPartitionRepair.onResponse(Message<Object> msg) protected voidBlockingPartitionRepair.sendRR(Message<Mutation> message, InetAddressAndPort endpoint) -
Uses of Message in org.apache.cassandra.streaming
Methods in org.apache.cassandra.streaming with parameters of type Message -
Uses of Message in org.apache.cassandra.tracing
Methods in org.apache.cassandra.tracing with parameters of type MessageModifier and TypeMethodDescriptionvoidTracing.traceOutgoingMessage(Message<?> message, int serializedSize, InetAddressAndPort sendTo) Record any tracing data, if enabled on this message.