|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.DefaultFeatureLock
Used to lock features when used with LockingDataSource.
This class is responsible for supplying a unique Authorization ID and expirery date for LockingDataSource locking operations.
Example: |
Although it is tempting to have these FeatureLock objects stored in a static repository in the manner of GeoServer's TypeRepository.InternalLock - that decision should be left to the individual DataSources.
An AbstractLockingDataSource with appropriate overrideable callbacks may be an elegent way to acomplish this.
http://vwfs.refractions.net/docs/Database_Research.pdf,
http://vwfs.refractions.net/docs/Transactional_WFS_Design.pdf,
http://vwfs.refractions.net/docs/Design_Implications.pdf| Field Summary |
| Fields inherited from interface org.geotools.data.FeatureLock |
TRANSACTION |
| Method Summary | |
java.lang.String |
getAuthorization()
LockId used for transaction authorization. |
long |
getDuration()
Time from now the lock will expire |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getAuthorization()
getAuthorization in interface FeatureLockpublic long getDuration()
getDuration in interface FeatureLock
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||