public interface Datastore extends Service, DatastoreTypes
Datastore interface provides methods to retrieve information about
datastores.DatastoreTypes.Info| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,DatastoreTypes.Info> |
find(java.util.List<java.lang.String> datastores)
Returns datastore information for the specified datastores.
|
void |
find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback)
Returns datastore information for the specified datastores.
|
void |
find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns datastore information for the specified datastores.
|
java.util.Map<java.lang.String,DatastoreTypes.Info> |
find(java.util.List<java.lang.String> datastores,
InvocationConfig invocationConfig)
Returns datastore information for the specified datastores.
|
java.util.Map<java.lang.String,DatastoreTypes.Info> find(java.util.List<java.lang.String> datastores)
Map is the datastore identifier and the value in
the Map is the datastore information.
Synchronous method overload. Result of the invocation will be reported as a method return value.
datastores - Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore.Map is the datastore identifier and the value in the Map is the datastore information.
The key in the return value Map will be an identifier for the
resource type: Datastore.NotFound - if no datastore can be found for one or more of the datastore identifiers in
datastoresUnauthorized - if you do not have all of the privileges described as follows: System.Read. Datastore
referenced by the parameter datastores requires System.Read.
java.util.Map<java.lang.String,DatastoreTypes.Info> find(java.util.List<java.lang.String> datastores, InvocationConfig invocationConfig)
Map is the datastore identifier and the value in
the Map is the datastore information.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
datastores - Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore.invocationConfig - Configuration for the method invocation.Map is the datastore identifier and the value in the Map is the datastore information.
The key in the return value Map will be an identifier for the
resource type: Datastore.NotFound - if no datastore can be found for one or more of the datastore identifiers in
datastoresUnauthorized - if you do not have all of the privileges described as follows: System.Read. Datastore
referenced by the parameter datastores requires System.Read.
void find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback)
Map is the datastore identifier and the value in
the Map is the datastore information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Datastore information for the specified datastores. The key in the return value
Map is the datastore identifier and the value in the Map is the datastore information.
The key in the return value Map will be an identifier for the
resource type: Datastore.
Operation Errors:
NotFound - if no datastore can be found for one or more of the datastore identifiers in
datastores
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. Datastore
referenced by the parameter datastores requires System.Read.
datastores - Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void find(java.util.List<java.lang.String> datastores,
AsyncCallback<java.util.Map<java.lang.String,DatastoreTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Map is the datastore identifier and the value in
the Map is the datastore information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Datastore information for the specified datastores. The key in the return value
Map is the datastore identifier and the value in the Map is the datastore information.
The key in the return value Map will be an identifier for the
resource type: Datastore.
Operation Errors:
NotFound - if no datastore can be found for one or more of the datastore identifiers in
datastores
Unauthorized - if you do not have all of the privileges described as follows:
System.Read. Datastore
referenced by the parameter datastores requires System.Read.
datastores - Identifiers of the datastores for which information will be returned.
The parameter must contain identifiers for the resource type: Datastore.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.