Package io.grpc
Class InternalChannelz.ChannelStats
java.lang.Object
io.grpc.InternalChannelz.ChannelStats
- Enclosing class:
InternalChannelz
A data class to represent a channel's stats.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longfinal longfinal longfinal longfinal List<InternalWithLogId> final ConnectivityStatefinal List<InternalWithLogId> final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateChannelStats(String target, ConnectivityState state, InternalChannelz.ChannelTrace channelTrace, long callsStarted, long callsSucceeded, long callsFailed, long lastCallStartedNanos, List<InternalWithLogId> subchannels, List<InternalWithLogId> sockets) Creates an instance. -
Method Summary
-
Field Details
-
target
-
state
-
channelTrace
-
callsStarted
public final long callsStarted -
callsSucceeded
public final long callsSucceeded -
callsFailed
public final long callsFailed -
lastCallStartedNanos
public final long lastCallStartedNanos -
subchannels
-
sockets
-
-
Constructor Details
-
ChannelStats
private ChannelStats(String target, ConnectivityState state, @Nullable InternalChannelz.ChannelTrace channelTrace, long callsStarted, long callsSucceeded, long callsFailed, long lastCallStartedNanos, List<InternalWithLogId> subchannels, List<InternalWithLogId> sockets) Creates an instance.
-