Resource Lock (GSIP 106)

Port of LockProvider from GWC integrated into ResourceStore API.

For more information see http://geoserver.org/display/GEOS/GSIP+106+-+Managed+File+API