Class NodeRequestInfo
Class used to hold data that is passed to implementations of IRequestTracker.
Inheritance
NodeRequestInfo
Assembly: Cassandra.dll
Syntax
public class NodeRequestInfo : IEquatable<NodeRequestInfo>
Properties
ExecutionId
Each node request has a unique ID so that IRequestTracker implementations can maintain context per node request.
Declaration
public Guid ExecutionId { get; }
Property Value
Host
Host that this node request is being sent to.
Declaration
public Host Host { get; }
Property Value
PrepareRequest
Note that this can be different to the parent's PrepareRequest.
An example case where this can happen is if the session request is a BoundStatement (so PrepareRequest is null)
and this node request is a PREPARE because the server replied with an UNPREPARED response so the driver has to re-prepare the statement before retrying the BoundStatement.
Declaration
public PrepareRequest PrepareRequest { get; }
Property Value
Methods
Equals(NodeRequestInfo)
Declaration
public bool Equals(NodeRequestInfo other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(NodeRequestInfo, NodeRequestInfo)
Declaration
public static bool operator ==(NodeRequestInfo a, NodeRequestInfo b)
Parameters
Returns
operator !=(NodeRequestInfo, NodeRequestInfo)
Declaration
public static bool operator !=(NodeRequestInfo a, NodeRequestInfo b)
Parameters
Returns
Implements