public static final class Exceptions.StreamWriterClosedException extends StatusRuntimeExceptionThis writer instance has either been closed by the user explicitly, or has encountered non-retriable errors.
To continue to write to the same stream, you will need to create a new writer instance.
Constructors
StreamWriterClosedException(Status grpcStatus, String streamName, String writerId)
protected StreamWriterClosedException(Status grpcStatus, String streamName, String writerId)| Parameters | |
|---|---|
| Name | Description |
grpcStatus |
io.grpc.Status |
streamName |
String |
writerId |
String |
Methods
getStreamName()
public String getStreamName()| Returns | |
|---|---|
| Type | Description |
String |
|
getWriterId()
public String getWriterId()| Returns | |
|---|---|
| Type | Description |
String |
|