Examples of lockRelease()


Examples of org.vfny.geoserver.global.Data.lockRelease()

        Data catalog = gs.getData();

        // I think we need to release and fail when lockAll fails
        //
        catalog.lockRelease(featureLock.getAuthorization());
    }
}
View Full Code Here

Examples of org.vfny.geoserver.global.Data.lockRelease()

        //
        Data catalog = request.getWFS().getData();

        if (request.getLockId() != null) {
            if (request.getReleaseAction() == TransactionRequest.ALL) {
                catalog.lockRelease(request.getLockId());
            } else if (request.getReleaseAction() == TransactionRequest.SOME) {
                catalog.lockRefresh(request.getLockId());
            }
        }
    }
View Full Code Here

Examples of org.vfny.geoserver.global.Data.lockRelease()

            // TODO: Do we need release/refresh during an abort?              
            if (request.getLockId() != null) {
                Data catalog = gs.getData();

                if (request.getReleaseAction() == TransactionRequest.ALL) {
                    catalog.lockRelease(request.getLockId());
                } else if (request.getReleaseAction() == TransactionRequest.SOME) {
                    catalog.lockRefresh(request.getLockId());
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.