public interface RpcBatch
An interface for the collection of batch operations.
Methods
addDelete(StorageObject storageObject, RpcBatch.Callback<Void> callback, Map<StorageRpc.Option,?> options)
public abstract void addDelete(StorageObject storageObject, RpcBatch.Callback<Void> callback, Map<StorageRpc.Option,?> options)
Adds a call to "delete storage object" to the batch, with the provided callback
and options
.
Name | Description |
storageObject | com.google.api.services.storage.model.StorageObject |
callback | Callback<Void> |
options | Map<Option,?> |
addGet(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)
public abstract void addGet(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)
Adds a call to "get storage object" to the batch, with the provided callback
and options
.
Name | Description |
storageObject | com.google.api.services.storage.model.StorageObject |
callback | Callback<com.google.api.services.storage.model.StorageObject> |
options | Map<Option,?> |
add(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)
public abstract void add(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)
Adds a call to " storage object" to the batch, with the provided callback
and options
.
Name | Description |
storageObject | com.google.api.services.storage.model.StorageObject |
callback | Callback<com.google.api.services.storage.model.StorageObject> |
options | Map<Option,?> |
submit()
public abstract void submit()
Submits a batch of requests for processing using a single RPC request to Cloud Storage.