| org.geotools.data.LockingManager
All known Subclasses: org.geotools.data.dir.DirectoryDataStore, org.geotools.data.InProcessLockingManager,
LockingManager | public interface LockingManager (Code) | | This class describes a featureID based locking service.
AbstractFeatureLocking, and others, may use this API to request locks on the
basis of FeatureID.
This class is also used as a public api to manage locks.
author: Jody Garnett, Refractions Research |
exists | boolean exists(String authID)(Code) | | Check if any locks exist held by the authorization lockID .
(remember that the lock may have expired)
Parameters: authID - Authorization for lock true if lock was found |
refresh | boolean refresh(String authID, Transaction transaction) throws IOException(Code) | | Refresh locks held by the authorization lockID .
All features locked with the provied lockID will be locked
for additional time (the origional duration requested).
(remember that the lock may have expired)
Parameters: authID - Authorization for lock Parameters: transaction - Transaction with authorization for lockID true if lock was found and refreshed throws: IOException - DOCUMENT ME! |
release | boolean release(String authID, Transaction transaction) throws IOException(Code) | | Release locks held by the authorization lockID .
(remember that the lock may have expired)
Parameters: authID - Authorization for lock Parameters: transaction - Transaction with authorization for lockID true if lock was found and released throws: IOException - DOCUMENT ME! |
|
|