Package io.grpc.internal
Class DelayedClientTransport.PickerState
java.lang.Object
io.grpc.internal.DelayedClientTransport.PickerState
- Enclosing class:
DelayedClientTransport
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LoadBalancer.SubchannelPicker
The last picker thatDelayedClientTransport.reprocess(io.grpc.LoadBalancer.SubchannelPicker)
has used.(package private) final Status
WhenshutdownStatus != null && !hasPendingStreams()
, then the transport is considered terminated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PickerState
(LoadBalancer.SubchannelPicker lastPicker, Status shutdownStatus) -
Method Summary
Modifier and TypeMethodDescriptionwithPicker
(LoadBalancer.SubchannelPicker newPicker) withShutdownStatus
(Status newShutdownStatus)
-
Field Details
-
lastPicker
The last picker thatDelayedClientTransport.reprocess(io.grpc.LoadBalancer.SubchannelPicker)
has used. May be set to null when the channel has moved to idle. -
shutdownStatus
WhenshutdownStatus != null && !hasPendingStreams()
, then the transport is considered terminated.
-
-
Constructor Details
-
PickerState
-
-
Method Details
-
withPicker
-
withShutdownStatus
-