Uses of Class
org.apache.cassandra.net.Message
-
-
Uses of Message in org.apache.cassandra.batchlog
Methods in org.apache.cassandra.batchlog with parameters of type Message Modifier and Type Method Description voidBatchRemoveVerbHandler. doVerb(Message<TimeUUID> message)voidBatchStoreVerbHandler. doVerb(Message<Batch> message) -
Uses of Message in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return Message Modifier and Type Method Description static <T> Message<T>MessageParams. addToMessage(Message<T> message)Message<ReadCommand>ReadCommand. createMessage(boolean trackRepairedData, Dispatcher.RequestTime requestTime)Creates a message for this command.Methods in org.apache.cassandra.db with parameters of type Message Modifier and Type Method Description static <T> Message<T>MessageParams. addToMessage(Message<T> message)protected voidCounterMutationVerbHandler. applyMutation(Message<CounterMutation> message, InetAddressAndPort respondToAddress)protected voidMutationVerbHandler. applyMutation(Message<Mutation> message, InetAddressAndPort respondToAddress)voidAbstractMutationVerbHandler. doVerb(Message<T> message)voidMutationVerbHandler. doVerb(Message<Mutation> message)voidReadCommandVerbHandler. doVerb(Message<ReadCommand> message)voidReadRepairVerbHandler. doVerb(Message<Mutation> message)voidTruncateVerbHandler. 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 Message Modifier and Type Method Description voidGossipDigestAck2VerbHandler. doVerb(Message<GossipDigestAck2> message)voidGossipDigestAckVerbHandler. doVerb(Message<GossipDigestAck> message)voidGossipDigestSynVerbHandler. doVerb(Message<GossipDigestSyn> message)voidGossipShutdownVerbHandler. doVerb(Message message)voidGossipVerbHandler. doVerb(Message<T> message) -
Uses of Message in org.apache.cassandra.hints
Methods in org.apache.cassandra.hints with parameters of type Message Modifier and Type Method Description voidHintVerbHandler. doVerb(Message<HintMessage> message) -
Uses of Message in org.apache.cassandra.metrics
Methods in org.apache.cassandra.metrics with parameters of type Message Modifier and Type Method Description voidMessagingMetrics. recordDroppedMessage(Message<?> message, long timeElapsed, java.util.concurrent.TimeUnit timeUnit) -
Uses of Message in org.apache.cassandra.net
Methods in org.apache.cassandra.net that return Message Modifier and Type Method Description Message<T>Message.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<NoPayload>Message. emptyResponse()Builds a response Message with no payload, and all the right fields inferred from request MessageMessage<RequestFailureReason>Message. 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>Message. out(Verb verb, T payload)Make a requestMessagewith supplied verb and payload.static <T> Message<T>Message. out(Verb verb, T payload, long expiresAtNanos)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, java.util.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<T>Message. withFlag(MessageFlag flag)Message<T>Message. withForwardTo(ForwardingInfo peers)Message<T>Message. withParam(ParamType type, java.lang.Object value)Message<T>Message. withParams(java.util.Map<ParamType,java.lang.Object> values)<V> Message<V>Message. withPayload(V newPayload)Methods in org.apache.cassandra.net that return types with arguments of type Message Modifier and Type Method Description <T> Future<Message<T>>MessagingService. sendWithResult(Message message, InetAddressAndPort to)Methods in org.apache.cassandra.net with parameters of type Message Modifier and Type Method Description voidInboundSink. accept(Message<?> message)voidOutboundSink. 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)booleanInboundSink. allow(Message<?> message)Deprecated.static <T> Message.Builder<T>Message. builder(Message<T> message)voidIVerbHandler. doVerb(Message<T> message)This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).voidOutboundConnection. enqueue(Message message)This 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, java.lang.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> voidMessagingService. respond(V response, Message<?> message)Send a message to a given endpoint.<V> voidMessagingService. respondWithFailure(RequestFailureReason reason, Message<?> message)voidMessagingService. send(Message message, InetAddressAndPort to)Send a message to a given endpoint.voidMessagingService. send(Message message, InetAddressAndPort to, 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)<T> Future<Message<T>>MessagingService. sendWithResult(Message 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 Message Modifier and Type Method Description voidInboundSink. add(java.util.function.Predicate<Message<?>> allow)voidOutboundSink. add(java.util.function.BiPredicate<Message<?>,InetAddressAndPort> allow)voidInboundSink. remove(java.util.function.Predicate<Message<?>> allow)voidOutboundSink. remove(java.util.function.BiPredicate<Message<?>,InetAddressAndPort> allow) -
Uses of Message in org.apache.cassandra.repair
Methods in org.apache.cassandra.repair with parameters of type Message Modifier and Type Method Description voidRepairMessageVerbHandler. doVerb(Message<RepairMessage> message) -
Uses of Message in org.apache.cassandra.repair.consistent
Methods in org.apache.cassandra.repair.consistent with parameters of type Message Modifier and Type Method Description protected voidCoordinatorSession. sendMessage(InetAddressAndPort destination, Message<RepairMessage> message)protected voidLocalSessions. sendMessage(InetAddressAndPort destination, Message<? extends RepairMessage> message) -
Uses of Message in org.apache.cassandra.schema
Methods in org.apache.cassandra.schema with parameters of type Message Modifier and Type Method Description voidSchemaPullVerbHandler. doVerb(Message<NoPayload> message)voidSchemaPushVerbHandler. doVerb(Message<java.util.Collection<Mutation>> message)voidSchemaVersionVerbHandler. doVerb(Message<NoPayload> message)Method parameters in org.apache.cassandra.schema with type arguments of type Message Modifier and Type Method Description voidSchemaPullVerbHandler. register(java.util.function.Consumer<Message<NoPayload>> handler)voidSchemaPushVerbHandler. register(java.util.function.Consumer<Message<java.util.Collection<Mutation>>> handler) -
Uses of Message in org.apache.cassandra.service
Methods in org.apache.cassandra.service with parameters of type Message Modifier and Type Method Description voidEchoVerbHandler. doVerb(Message<NoPayload> message)voidSnapshotVerbHandler. doVerb(Message<SnapshotCommand> message)voidActiveRepairService. handleMessage(Message<? extends RepairMessage> message)protected 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 Message Modifier and Type Method Description voidPaxosCommit.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 Message Modifier and Type Method Description voidPaxosCleanupComplete. onResponse(Message<java.lang.Void> msg)voidPaxosCleanupSession. onResponse(Message<java.lang.Void> msg)voidPaxosFinishPrepareCleanup. onResponse(Message<java.lang.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 Message Modifier and Type Method Description voidAbstractPaxosVerbHandler. doVerb(Message<Commit> message)voidPrepareCallback. onResponse(Message<PrepareResponse> message)voidProposeCallback. onResponse(Message<java.lang.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 Message Modifier and Type Field Description protected Accumulator<Message<ReadResponse>>ResponseResolver. responsesMethods in org.apache.cassandra.service.reads that return types with arguments of type Message Modifier and Type Method Description Accumulator<Message<ReadResponse>>ResponseResolver. getMessages()Methods in org.apache.cassandra.service.reads with parameters of type Message Modifier and Type Method Description voidReadCallback. 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 Message Modifier and Type Method Description voidBlockingPartitionRepair. onResponse(Message<java.lang.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 Modifier and Type Method Description voidReplicationDoneVerbHandler. doVerb(Message msg) -
Uses of Message in org.apache.cassandra.tracing
Methods in org.apache.cassandra.tracing with parameters of type Message Modifier and Type Method Description voidTracing. traceOutgoingMessage(Message<?> message, int serializedSize, InetAddressAndPort sendTo)Record any tracing data, if enabled on this message.
-