Class SocketManager
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
A SocketManager monitors multiple sockets for availability of data; this is done using the Socket.Select API and a dedicated reader-thread, which allows for fast responses even when the system is under ambient load.
public sealed class SocketManager : IDisposable
- Inheritance
-
SocketManager
- Implements
- Inherited Members
Constructors
SocketManager(string)
Creates a new (optionally named) SocketManager instance
public SocketManager(string name = null)
Parameters
name
string
SocketManager(string, bool)
Creates a new SocketManager instance
public SocketManager(string name, bool useHighPrioritySocketThreads)
Parameters
Properties
Name
Gets the name of this SocketManager instance
public string Name { get; }
Property Value
Methods
Dispose()
Releases all resources associated with this instance
public void Dispose()