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

Examples of io.fathom.cloud.openstack.client.storage.StoragePath.listChildren()


        List<ConfigEntry> children = Lists.newArrayList();

        try {
            StoragePath path = getStoragePath();

            List<StorageObjectInfo> childNodes = path.listChildren(false);
            if (childNodes != null) {
                for (StorageObjectInfo o : childNodes) {
                    String name = path.stripPrefix(o.name);
                    long version = o.getLastModifiedTimestamp();
                    ConfigEntry child = new ConfigEntry(name, version);
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.