public interface RpcBatch
Modifier and Type | Interface and Description |
---|---|
static interface |
RpcBatch.Callback<T>
An interface for batch callbacks.
|
Modifier and Type | Method and Description |
---|---|
void |
addDelete(com.google.api.services.storage.model.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 . |
void |
addGet(com.google.api.services.storage.model.StorageObject storageObject,
RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback,
Map<StorageRpc.Option,?> options)
Adds a call to "get storage object" to the batch, with the provided
callback and options . |
void |
addPatch(com.google.api.services.storage.model.StorageObject storageObject,
RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback,
Map<StorageRpc.Option,?> options)
Adds a call to "patch storage object" to the batch, with the provided
callback and
options . |
void |
submit()
Submits a batch of requests for processing using a single RPC request to Cloud Storage.
|
void addDelete(com.google.api.services.storage.model.StorageObject storageObject, RpcBatch.Callback<Void> callback, Map<StorageRpc.Option,?> options)
callback
and
options
.void addPatch(com.google.api.services.storage.model.StorageObject storageObject, RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback, Map<StorageRpc.Option,?> options)
callback
and
options
.void addGet(com.google.api.services.storage.model.StorageObject storageObject, RpcBatch.Callback<com.google.api.services.storage.model.StorageObject> callback, Map<StorageRpc.Option,?> options)
callback
and options
.void submit()
Copyright © 2023 Google LLC. All rights reserved.