Package com.semagia.atomico.server.storage

Examples of com.semagia.atomico.server.storage.IModifiableStorage.deleteSnapshot()


    public Response deleteSnapshot() throws StorageException {
        final IModifiableStorage storage = super.getModifiableStorage();
        if (storage == null) {
            return ResponseUtils.methodNotAllowed();
        }
        final boolean success = storage.deleteSnapshot(_collInfo.getCollectionId(), _snapshotInfo.getSnapshotId());
        final ResponseBuilder builder = success ? Response.ok() : Response.status(Status.INTERNAL_SERVER_ERROR);
        return builder.build();
    }

    /**
 
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.