mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Add lock expiry handler to expire state locks (#8562)
This commit is contained in:
@@ -51,6 +51,9 @@ type NetLocker interface {
|
||||
// * an error on failure of unlock request operation.
|
||||
Unlock(args LockArgs) (bool, error)
|
||||
|
||||
// Expired returns if current lock args has expired.
|
||||
Expired(args LockArgs) (bool, error)
|
||||
|
||||
// Returns underlying endpoint of this lock client instance.
|
||||
String() string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user