Package org.openstack4j.api.trove
Interface DatastoreService
-
- All Known Implementing Classes:
DBDatastoreServiceImpl
public interface DatastoreServiceThis interface defines all methods for the manipulation of trove datastores- Author:
- sumit gandhi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Datastoreget(String id)Gets a datastore specified by IDDatastoreVersiongetDatastoreVersion(String datastoreId, String versionId)Get the datastore version specified by IDList<? extends Datastore>list()Returns list of available datastoresList<? extends DatastoreVersion>listDatastoreVersions(String datasoreId)Returns list of all datastore versions
-
-
-
Method Detail
-
list
List<? extends Datastore> list()
Returns list of available datastores- Returns:
- the list of datastores
-
get
Datastore get(String id)
Gets a datastore specified by ID- Returns:
- the datastore or null if not found
-
listDatastoreVersions
List<? extends DatastoreVersion> listDatastoreVersions(String datasoreId)
Returns list of all datastore versions- Returns:
- list of datastore versions
-
getDatastoreVersion
DatastoreVersion getDatastoreVersion(String datastoreId, String versionId)
Get the datastore version specified by ID- Returns:
- the datastore version or null if not found
-
-