Class SemaphoreOptions
Namespace: Consul
Assembly: Consul.dll
SemaphoreOptions is used to parameterize the Semaphore
public class SemaphoreOptions
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
SemaphoreOptions(string, int)
public SemaphoreOptions(string prefix, int limit)
Parameters
prefix
string
limit
int
Properties
Limit
public int Limit { get; set; }
Property Value
MonitorRetries
public int MonitorRetries { get; set; }
Property Value
MonitorRetryTime
public TimeSpan MonitorRetryTime { get; set; }
Property Value
Prefix
public string Prefix { get; set; }
Property Value
SemaphoreTryOnce
public bool SemaphoreTryOnce { get; set; }
Property Value
SemaphoreWaitTime
public TimeSpan SemaphoreWaitTime { get; set; }
Property Value
Session
public string Session { get; set; }
Property Value
SessionName
public string SessionName { get; set; }
Property Value
SessionTTL
public TimeSpan SessionTTL { get; set; }
Property Value
Value
public byte[] Value { get; set; }
Property Value
byte []