Package io.fathom.cloud.openstack.client.storage.model

Examples of io.fathom.cloud.openstack.client.storage.model.StorageListChunk


                files.add(object);
            } else {
                subdirs.add(object.subdir);
            }
        }
        return new StorageListChunk(objects, subdirs, nextKey);
    }
View Full Code Here


        int maxListingLength = 2000;

        try {
            String marker = null;
            while (true) {
                StorageListChunk chunk = listObjectsChunked(bucket, prefix, delimiter, maxListingLength, marker);
                for (StorageObjectInfo o : chunk.getObjects()) {
                    ret.add(o);
                }
                marker = chunk.getPriorLastKey();
                if (marker == null) {
                    break;
                }
            }
        } catch (RestClientException e) {
View Full Code Here

TOP

Related Classes of io.fathom.cloud.openstack.client.storage.model.StorageListChunk

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.