Class StorageServiceGrpc.StorageServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<StorageServiceGrpc.StorageServiceFutureStub>
io.deephaven.proto.backplane.grpc.StorageServiceGrpc.StorageServiceFutureStub
- Enclosing class:
- StorageServiceGrpc
public static final class StorageServiceGrpc.StorageServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<StorageServiceGrpc.StorageServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service StorageService.
Shared storage management service. Operations may fail (or omit data) if the current session does not have permission to read or write that resource. Paths will be "/" delimited and must start with a leading slash.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<CreateDirectoryResponse>
createDirectory
(CreateDirectoryRequest request) Creates a directory at the given path.com.google.common.util.concurrent.ListenableFuture<DeleteItemResponse>
deleteItem
(DeleteItemRequest request) Deletes the file or directory at the given path.com.google.common.util.concurrent.ListenableFuture<FetchFileResponse>
fetchFile
(FetchFileRequest request) Reads the file at the given path.com.google.common.util.concurrent.ListenableFuture<ListItemsResponse>
listItems
(ListItemsRequest request) Lists the files and directories present in a given directory.com.google.common.util.concurrent.ListenableFuture<MoveItemResponse>
moveItem
(MoveItemRequest request) Moves a file from one path to another.com.google.common.util.concurrent.ListenableFuture<SaveFileResponse>
saveFile
(SaveFileRequest request) Can create new files or modify existing with client provided contents.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected StorageServiceGrpc.StorageServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<StorageServiceGrpc.StorageServiceFutureStub>
-
listItems
public com.google.common.util.concurrent.ListenableFuture<ListItemsResponse> listItems(ListItemsRequest request) Lists the files and directories present in a given directory. Will return an error
-
fetchFile
public com.google.common.util.concurrent.ListenableFuture<FetchFileResponse> fetchFile(FetchFileRequest request) Reads the file at the given path. Client can optionally specify an etag, asking the server not to send the file if it hasn't changed.
-
saveFile
public com.google.common.util.concurrent.ListenableFuture<SaveFileResponse> saveFile(SaveFileRequest request) Can create new files or modify existing with client provided contents.
-
moveItem
public com.google.common.util.concurrent.ListenableFuture<MoveItemResponse> moveItem(MoveItemRequest request) Moves a file from one path to another.
-
createDirectory
public com.google.common.util.concurrent.ListenableFuture<CreateDirectoryResponse> createDirectory(CreateDirectoryRequest request) Creates a directory at the given path.
-
deleteItem
public com.google.common.util.concurrent.ListenableFuture<DeleteItemResponse> deleteItem(DeleteItemRequest request) Deletes the file or directory at the given path. Directories must be empty to be deleted.
-