Skip to main content

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
TypeName
DiagnosticListenerlistener
System.Byte[][]command
System.Stringoperation

WriteCommandAfter(DiagnosticListener, Guid, Byte[][], String)

View Source
Declaration
public static void WriteCommandAfter(this DiagnosticListener listener, Guid operationId, byte[][] command, string operation = "")
Parameters
TypeName
DiagnosticListenerlistener
System.GuidoperationId
System.Byte[][]command
System.Stringoperation

WriteCommandRetry(DiagnosticListener, Guid, Byte[][], String)

View Source
Declaration
public static void WriteCommandRetry(this DiagnosticListener listener, Guid operationId, byte[][] command, string operation = "")
Parameters
TypeName
DiagnosticListenerlistener
System.GuidoperationId
System.Byte[][]command
System.Stringoperation

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
TypeName
DiagnosticListenerlistener
System.GuidoperationId
System.Byte[][]command
System.Exceptionex
System.Stringoperation

WriteConnectionOpenBefore(DiagnosticListener, RedisNativeClient, String)

View Source
Declaration
public static Guid WriteConnectionOpenBefore(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns

System.Guid

Parameters
TypeName
DiagnosticListenerlistener
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation

WriteConnectionOpenAfter(DiagnosticListener, Guid, RedisNativeClient, String)

View Source
Declaration
public static void WriteConnectionOpenAfter(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
TypeName
DiagnosticListenerlistener
System.GuidoperationId
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation

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
TypeName
DiagnosticListenerlistener
System.GuidoperationId
ServiceStack.Redis.RedisNativeClientclient
System.Exceptionex
System.Stringoperation

WriteConnectionCloseBefore(DiagnosticListener, RedisNativeClient, String)

View Source
Declaration
public static Guid WriteConnectionCloseBefore(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns

System.Guid

Parameters
TypeName
DiagnosticListenerlistener
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation

WriteConnectionCloseAfter(DiagnosticListener, Guid, RedisNativeClient, String)

View Source
Declaration
public static void WriteConnectionCloseAfter(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
TypeName
DiagnosticListenerlistener
System.GuidoperationId
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation

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
TypeName
DiagnosticListenerlistener
System.GuidoperationId
ServiceStack.Redis.RedisNativeClientclient
System.Exceptionex
System.Stringoperation

WritePoolRent(DiagnosticListener, RedisNativeClient, String)

View Source
Declaration
public static Guid WritePoolRent(this DiagnosticListener listener, RedisNativeClient client, string operation = "")
Returns

System.Guid

Parameters
TypeName
DiagnosticListenerlistener
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation

WritePoolReturn(DiagnosticListener, Guid, RedisNativeClient, String)

View Source
Declaration
public static void WritePoolReturn(this DiagnosticListener listener, Guid operationId, RedisNativeClient client, string operation = "")
Parameters
TypeName
DiagnosticListenerlistener
System.GuidoperationId
ServiceStack.Redis.RedisNativeClientclient
System.Stringoperation