RedisDiagnostics
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public static class RedisDiagnostics
Methods
WriteCommandBefore(DiagnosticListener, Byte[][], String)
View Source
Declaration
public static Guid WriteCommandBefore(this DiagnosticListener listener, byte[][] command, string operation = "")
Returns
System.Guid
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Byte[][] | command |
System.String | operation |
WriteCommandAfter(DiagnosticListener, Guid, Byte[][], String)
View Source
Declaration
public static void WriteCommandAfter(this DiagnosticListener listener, Guid operationId, byte[][] command, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
System.Byte[][] | command |
System.String | operation |
WriteCommandRetry(DiagnosticListener, Guid, Byte[][], String)
View Source
Declaration
public static void WriteCommandRetry(this DiagnosticListener listener, Guid operationId, byte[][] command, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
System.Byte[][] | command |
System.String | operation |
WriteCommandError(DiagnosticListener, Guid, Byte[][], Exception, String)
View Source
Declaration
public static void WriteCommandError(this DiagnosticListener listener, Guid operationId, byte[][] command, Exception ex, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
System.Byte[][] | command |
System.Exception | ex |
System.String | operation |
WriteConnectionOpenBefore(DiagnosticListener, RedisNativeClient, String)
View Source
Declaration
public static Guid WriteConnectionOpenBefore(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns
System.Guid
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |
WriteConnectionOpenAfter(DiagnosticListener, Guid, RedisNativeClient, String)
View Source
Declaration
public static void WriteConnectionOpenAfter(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |
WriteConnectionOpenError(DiagnosticListener, Guid, RedisNativeClient, Exception, String)
View Source
Declaration
public static void WriteConnectionOpenError(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, Exception ex, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
ServiceStack.Redis.RedisNativeClient | client |
System.Exception | ex |
System.String | operation |
WriteConnectionCloseBefore(DiagnosticListener, RedisNativeClient, String)
View Source
Declaration
public static Guid WriteConnectionCloseBefore(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns
System.Guid
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |
WriteConnectionCloseAfter(DiagnosticListener, Guid, RedisNativeClient, String)
View Source
Declaration
public static void WriteConnectionCloseAfter(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |
WriteConnectionCloseError(DiagnosticListener, Guid, RedisNativeClient, Exception, String)
View Source
Declaration
public static void WriteConnectionCloseError(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, Exception ex, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
ServiceStack.Redis.RedisNativeClient | client |
System.Exception | ex |
System.String | operation |
WritePoolRent(DiagnosticListener, RedisNativeClient, String)
View Source
Declaration
public static Guid WritePoolRent(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns
System.Guid
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |
WritePoolReturn(DiagnosticListener, Guid, RedisNativeClient, String)
View Source
Declaration
public static void WritePoolReturn(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
Type | Name |
---|---|
DiagnosticListener | listener |
System.Guid | operationId |
ServiceStack.Redis.RedisNativeClient | client |
System.String | operation |