Package org.apache.cassandra.transport
Class Message.Request
java.lang.Object
org.apache.cassandra.transport.Message
org.apache.cassandra.transport.Message.Request
- Direct Known Subclasses:
AuthResponse,BatchMessage,ExecuteMessage,OptionsMessage,PrepareMessage,QueryMessage,RegisterMessage,StartupMessage
- Enclosing class:
- Message
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.transport.Message
Message.Codec<M extends Message>, Message.Direction, Message.Request, Message.Response, Message.Type -
Field Summary
FieldsFields inherited from class org.apache.cassandra.transport.Message
connection, forcedProtocolVersion, logger, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Message.Responseexecute(QueryState queryState, Dispatcher.RequestTime requestTime) protected abstract Message.Responseexecute(QueryState queryState, Dispatcher.RequestTime requestTime, boolean traceRequest) protected booleanprotected booleantoString()Methods inherited from class org.apache.cassandra.transport.Message
attach, connection, encode, getCustomPayload, getSource, getStreamId, setCustomPayload, setSource, setStreamId
-
Field Details
-
createdAtNanos
public final long createdAtNanos
-
-
Constructor Details
-
Request
-
-
Method Details
-
isTraceable
protected boolean isTraceable()- Returns:
- true if the execution of this
Message.Requestshould be recorded in a tracing session
-
isTrackable
protected boolean isTrackable()- Returns:
- true if warnings should be tracked and aborts enforced for resource limits on this
Message.Request
-
execute
protected abstract Message.Response execute(QueryState queryState, Dispatcher.RequestTime requestTime, boolean traceRequest) -
execute
-
toString
-