Package org.apache.jackrabbit.core.data

Examples of org.apache.jackrabbit.core.data.Backend


     * Cleaning of bucket after test run.
     */
    public void deleteBucket() throws Exception {
        Properties props = Utils.readConfig(config);
        AmazonS3Client s3service = Utils.openService(props);
        Backend backend = ds.getBackend();
        String bucket = ((S3Backend)backend).getBucket();
        LOG.info("delete bucket [" + bucket + "]");
        TransferManager tmx = new TransferManager(s3service);
        if (s3service.doesBucketExist(bucket)) {
            for (int i = 0; i < 3; i++) {
View Full Code Here


        super();
        this.bucket = bucket;
    }

    protected Backend createBackend() {
        Backend backend = new S3Backend();
        ((S3Backend) backend).setBucket(bucket);
        return backend;
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.data.Backend

Copyright © 2018 www.massapicom. 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.