All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.trove.DatastoreService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.api.trove;

import org.openstack4j.model.trove.Datastore;
import org.openstack4j.model.trove.DatastoreVersion;

import java.util.List;

/**
 * This interface defines all methods for the manipulation of trove datastores
 *
 * @author sumit gandhi
 */

public interface DatastoreService {

    /**
     * Returns list of available datastores
     * @return the list of datastores
     */
    List list();

    /**
     * Gets a datastore specified by ID
     * @param id
     * @return the datastore or null if not found
     */
    Datastore get(String id);

    /**
     * Returns list of all datastore versions
     * @param datasoreId
     * @return list of datastore versions
     */
    List listDatastoreVersions(String datasoreId);

    /**
     * Get the datastore version specified by ID
     * @param datastoreId
     * @param versionId
     * @return the datastore version or null if not found
     */
    DatastoreVersion getDatastoreVersion(String datastoreId, String versionId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy