C# Class CqlSharp.Tracing.QueryTraceCommand

Helper command to fetch Cassandra tracing information
Exibir arquivo Open project: reuzel/CqlSharp Class Usage Examples

Public Methods

Method Description
GetTraceSession ( ) : TracingSession

Gets the trace session.

Convenience wrapper around GetTraceSessionAsync

GetTraceSessionAsync ( CancellationToken token ) : Task

Gets the trace session async.

QueryTraceCommand ( CqlConnection connection, System.Guid tracingId ) : System

Initializes a new instance of the QueryTraceCommand class.

Method Details

GetTraceSession() public method

Gets the trace session.
Convenience wrapper around GetTraceSessionAsync
public GetTraceSession ( ) : TracingSession
return TracingSession

GetTraceSessionAsync() public method

Gets the trace session async.
public GetTraceSessionAsync ( CancellationToken token ) : Task
token CancellationToken
return Task

QueryTraceCommand() public method

Initializes a new instance of the QueryTraceCommand class.
public QueryTraceCommand ( CqlConnection connection, System.Guid tracingId ) : System
connection CqlConnection The connection.
tracingId System.Guid The tracing id.
return System