Package org.geotools.api.data
Interface SimpleFeatureLocking
-
- All Superinterfaces:
FeatureLocking<SimpleFeatureType,SimpleFeature>
,FeatureSource<SimpleFeatureType,SimpleFeature>
,FeatureStore<SimpleFeatureType,SimpleFeature>
,SimpleFeatureSource
,SimpleFeatureStore
- All Known Implementing Classes:
ContentFeatureStore
,CSVFeatureStore
,DirectoryFeatureLocking
,GeoJSONFeatureStore
,JDBCFeatureStore
,MemoryFeatureStore
,MongoFeatureStore
,PropertyFeatureStore
,TransformFeatureLocking
public interface SimpleFeatureLocking extends SimpleFeatureStore, FeatureLocking<SimpleFeatureType,SimpleFeature>
Used to lock feature content to protect against other threads (or depending on the source of data other applications) making modifications when you are not looking.The locks operate more as a lease for a specific period of time. In effect you are only locking for a set time period; so even if your application or machine crashes the lock will eventually be released allowing others to play.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface FeatureLocking
FeatureLocking.Response
-
-
Method Summary
-
Methods inherited from interface FeatureLocking
lockFeatures, lockFeatures, lockFeatures, setFeatureLock, unLockFeatures, unLockFeatures, unLockFeatures
-
Methods inherited from interface FeatureSource
addFeatureListener, getBounds, getBounds, getCount, getDataStore, getInfo, getName, getQueryCapabilities, getSchema, getSupportedHints, removeFeatureListener
-
Methods inherited from interface FeatureStore
addFeatures, getTransaction, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction
-
Methods inherited from interface SimpleFeatureStore
getFeatures, getFeatures, getFeatures, modifyFeatures, modifyFeatures
-
-