Package org.apache.cassandra.net
Class Message.Builder<T>
java.lang.Object
org.apache.cassandra.net.Message.Builder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()from(InetAddressAndPort from) withCreatedAt(long createdAtNanos) withCustomParam(String name, byte[] value) withExpiresAt(long expiresAtNanos) withFlag(MessageFlag flag) withFlags(int flags) withId(long id) withoutParam(ParamType type) withParams(Map<ParamType, Object> params) withPayload(T payload) A shortcut to add tracing params.
-
Method Details
-
from
-
withPayload
-
withFlag
-
withFlags
-
withParam
-
withCustomParam
-
withTracingParams
A shortcut to add tracing params. Effectively, it is the same as callingwithParam(ParamType, Object)with tracing params If there is already tracing params, calling this method overrides any existing ones. -
withoutParam
-
withParams
-
ofVerb
-
withCreatedAt
-
withExpiresAt
-
withId
-
build
-