@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2861") @ThreadSafe public abstract class StreamTracer extends Object
Constructor and Description |
---|
StreamTracer() |
Modifier and Type | Method and Description |
---|---|
void |
inboundMessage()
An inbound message has been received by the stream.
|
void |
inboundUncompressedSize(long bytes)
The uncompressed size of some inbound data is revealed.
|
void |
inboundWireSize(long bytes)
The wire size of some inbound data is revealed.
|
void |
outboundMessage()
An outbound message has been passed to the stream.
|
void |
outboundUncompressedSize(long bytes)
The uncompressed size of some outbound data is revealed.
|
void |
outboundWireSize(long bytes)
The wire size of some outbound data is revealed.
|
void |
streamClosed(Status status)
Stream is closed.
|
public void streamClosed(Status status)
public void outboundMessage()
public void inboundMessage()
public void outboundWireSize(long bytes)
public void outboundUncompressedSize(long bytes)
public void inboundWireSize(long bytes)
public void inboundUncompressedSize(long bytes)