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<java.util.UUID> 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 Message<ReadCommand>ReadCommand. createMessage(boolean trackRepairedData)Creates a message for this command.Methods in org.apache.cassandra.db with parameters of type Message Modifier and Type Method Description voidCounterMutationVerbHandler. doVerb(Message<CounterMutation> message)voidMutationVerbHandler. doVerb(Message<Mutation> message)voidReadCommandVerbHandler. doVerb(Message<ReadCommand> message)voidReadRepairVerbHandler. doVerb(Message<Mutation> message)voidTruncateVerbHandler. doVerb(Message<TruncateRequest> message) -
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)<T> Message<T>Message. responseWith(T payload)Builds a response Message with provided payload, and all the right fields inferred from request MessageMessage<T>Message. withForwardTo(ForwardingInfo peers)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(AbstractWriteResponseHandler<?> cb, Message<?> message, Replica to, ConsistencyLevel consistencyLevel, boolean allowHints)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)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)voidMessagingService. sendWriteWithCallback(Message message, Replica to, AbstractWriteResponseHandler<?> handler, boolean allowHints)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) -
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 voidCommitVerbHandler. doVerb(Message<Commit> message)voidPrepareVerbHandler. doVerb(Message<Commit> message)voidProposeVerbHandler. doVerb(Message<Commit> message)voidPrepareCallback. onResponse(Message<PrepareResponse> message)voidProposeCallback. onResponse(Message<java.lang.Boolean> msg) -
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.
-