public static interface InProcessLockingManager.Lock
Modifier and Type | Method and Description |
---|---|
boolean |
isAuthorized(Transaction transaction)
Check if transaction is authorized for this lock
|
boolean |
isExpired()
Check if lock has expired, it will be removed if so
|
boolean |
isMatch(String authID)
Check if authID matches this lock
|
void |
refresh()
Refresh lock
|
void |
release()
Release lock
|
boolean isExpired()
true
if Lock has gone staleboolean isMatch(String authID)
true
if authID matchesboolean isAuthorized(Transaction transaction)
true
if transaction is authorizedvoid refresh()
void release()
Copyright © 1996–2023 Geotools. All rights reserved.