- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ForceUnlock (0.22 sec)
-
cmd/lock-rest-client.go
func (c *lockRESTClient) Unlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCUnlock, &args) } // ForceUnlock calls force unlock handler to forcibly unlock an active lock. func (c *lockRESTClient) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCForceUnlock, &args) } func newLockAPI(endpoint Endpoint) dsync.NetLocker {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Nov 24 17:07:14 GMT 2023 - 3.3K bytes - Viewed (0) -
cmd/lock-rest-server.go
} // ForceUnlockHandler - query expired lock status. func (l *lockRESTServer) ForceUnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) { resp := lockRPCForceUnlock.NewResponse() _, err := l.ll.ForceUnlock(context.Background(), *args) return l.makeResp(resp, err) } var ( // Static lock handlers. // All have the same signature. lockRPCForceUnlock = newLockHandler(grid.HandlerLockForceUnlock)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 5.9K bytes - Viewed (0)