Top Description Fields Constructors Methods
io.rsocket.loadbalance

pack-priv Class WeightedStatsRSocketProxy

extends RSocketProxy
implements WeightedStats
Class Inheritance
All Implemented Interfaces
io.rsocket.loadbalance.WeightedStats
Imports
io.rsocket.RSocket, io.rsocket.util.RSocketProxy

Package private RSocketProxy used from WeightedStats#wrap(RSocket) to attach a WeightedStats instance to an RSocket.

Field Summary

Modifier and TypeField and Description
private final WeightedStats
Inherited from io.rsocket.util.RSocketProxy:
source

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public WeightedStats
public double
public double
public int
public double
public double
Inherited from io.rsocket.util.RSocketProxy:
availabilitydisposefireAndForgetisDisposedmetadataPushonCloserequestChannelrequestResponserequestStream

Field Detail

weightedStatsback to summary
private final WeightedStats weightedStats

Constructor Detail

WeightedStatsRSocketProxyback to summary
public WeightedStatsRSocketProxy(RSocket source, WeightedStats weightedStats)

Method Detail

getDelegateback to summary
public WeightedStats getDelegate()
higherQuantileLatencyback to summary
public double higherQuantileLatency()

Implements io.rsocket.loadbalance.WeightedStats.higherQuantileLatency.

Annotations
@Override
lowerQuantileLatencyback to summary
public double lowerQuantileLatency()

Implements io.rsocket.loadbalance.WeightedStats.lowerQuantileLatency.

Annotations
@Override
pendingback to summary
public int pending()

Implements io.rsocket.loadbalance.WeightedStats.pending.

Annotations
@Override
predictedLatencyback to summary
public double predictedLatency()

Implements io.rsocket.loadbalance.WeightedStats.predictedLatency.

Annotations
@Override
weightedAvailabilityback to summary
public double weightedAvailability()

Implements io.rsocket.loadbalance.WeightedStats.weightedAvailability.

Annotations
@Override