Method | Description | |
---|---|---|
CompareTo ( object obj ) : int | ||
Dispose ( ) : void | ||
MySqlDistributedLock ( IDbConnection connection, string resource, System.TimeSpan timeout ) : System | ||
MySqlDistributedLock ( IDbConnection connection, string resource, System.TimeSpan timeout, |
||
MySqlDistributedLock ( MySqlStorage storage, string resource, System.TimeSpan timeout ) : System |
Method | Description | |
---|---|---|
Acquire ( ) : |
||
AcquireLock ( string resource, System.TimeSpan timeout ) : int | ||
ContinueCondition ( int insertedObjectCount ) : bool | ||
Release ( ) : void |
public MySqlDistributedLock ( IDbConnection connection, string resource, System.TimeSpan timeout ) : System | ||
connection | IDbConnection | |
resource | string | |
timeout | System.TimeSpan | |
return | System |
public MySqlDistributedLock ( IDbConnection connection, string resource, System.TimeSpan timeout, |
||
connection | IDbConnection | |
resource | string | |
timeout | System.TimeSpan | |
cancellationToken | ||
return | System |
public MySqlDistributedLock ( MySqlStorage storage, string resource, System.TimeSpan timeout ) : System | ||
storage | MySqlStorage | |
resource | string | |
timeout | System.TimeSpan | |
return | System |