public final class CsiGrpcClient extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
CsiGrpcClient.GrpcClientBuilder
The Grpc Client builder.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Shutdown the communication channel gracefully,
wait for 5 seconds before it is enforced.
|
csi.v0.ControllerGrpc.ControllerBlockingStub |
createControllerBlockingStub()
Creates a blocking stub for CSI controller plugin on the given channel.
|
csi.v0.IdentityGrpc.IdentityBlockingStub |
createIdentityBlockingStub()
Creates a blocking stub for CSI identity plugin on the given channel.
|
csi.v0.NodeGrpc.NodeBlockingStub |
createNodeBlockingStub()
Creates a blocking stub for CSI node plugin on the given channel.
|
static CsiGrpcClient.GrpcClientBuilder |
newBuilder() |
public static CsiGrpcClient.GrpcClientBuilder newBuilder()
public void close()
close
in interface AutoCloseable
public csi.v0.IdentityGrpc.IdentityBlockingStub createIdentityBlockingStub()
public csi.v0.ControllerGrpc.ControllerBlockingStub createControllerBlockingStub()
public csi.v0.NodeGrpc.NodeBlockingStub createNodeBlockingStub()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.