ReactiveSocket

Skip navigation links
A B C D E F H I L M O P Q R S T V W 

A

apertureChanged(int, int) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event when the expected number of active sockets held by the load balancer changes.
apertureChanged(int, int) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
apply(Collection<T>) - Method in class io.reactivesocket.client.LoadBalancingClient.SourceToClient
 
availability() - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
availability() - Method in class io.reactivesocket.client.filter.FailureAwareClient
 
availability() - Method in class io.reactivesocket.client.LoadBalancer
 
availability() - Method in class io.reactivesocket.client.LoadBalancingClient
 

B

BackupRequestSocket - Class in io.reactivesocket.client.filter
 
BackupRequestSocket(ReactiveSocket, double, ScheduledExecutorService) - Constructor for class io.reactivesocket.client.filter.BackupRequestSocket
 
BackupRequestSocket(ReactiveSocket, double) - Constructor for class io.reactivesocket.client.filter.BackupRequestSocket
 
BackupRequestSocket(ReactiveSocket) - Constructor for class io.reactivesocket.client.filter.BackupRequestSocket
 

C

close() - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
close() - Method in class io.reactivesocket.client.LoadBalancer
 
connect() - Method in class io.reactivesocket.client.filter.FailureAwareClient
 
connect() - Method in class io.reactivesocket.client.LoadBalancingClient
 
connectTimeout(ReactiveSocketClient, long, TimeUnit, Scheduler) - Static method in class io.reactivesocket.client.filter.ReactiveSocketClients
Wraps a ReactiveSocketClient such that all ReactiveSocketClient.connect() calls will timeout, if not completed after the specified timeout.
create(Publisher<? extends Collection<T>>, Function<T, ReactiveSocketClient>) - Static method in class io.reactivesocket.client.LoadBalancingClient
Creates a client that will load balance on the active servers as provided by the passed servers.

D

DEFAULT_EXP_FACTOR - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_HIGHER_QUANTILE - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_LOWER_QUANTILE - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_MAX_APERTURE - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_MAX_PENDING - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_MAX_REFRESH_PERIOD_MS - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_MIN_APERTURE - Static variable in class io.reactivesocket.client.LoadBalancer
 
DEFAULT_MIN_PENDING - Static variable in class io.reactivesocket.client.LoadBalancer
 
detectFailures(ReactiveSocketClient) - Static method in class io.reactivesocket.client.filter.ReactiveSocketClients
Wraps a ReactiveSocketClient such that it's availability as returned by Availability.availability() is adjusted according to the errors received from the client for all requests.

E

estimation() - Method in class io.reactivesocket.stat.FrugalQuantile
 
estimation() - Method in interface io.reactivesocket.stat.Quantile
 
Ewma - Class in io.reactivesocket.stat
Compute the exponential weighted moving average of a series of values.
Ewma(long, TimeUnit, double) - Constructor for class io.reactivesocket.stat.Ewma
 

F

FailureAwareClient - Class in io.reactivesocket.client.filter
This child compute the error rate of a particular remote location and adapt the availability of the ReactiveSocketFactory but also of the ReactiveSocket.
FailureAwareClient(ReactiveSocketClient, long, TimeUnit) - Constructor for class io.reactivesocket.client.filter.FailureAwareClient
 
FailureAwareClient(ReactiveSocketClient) - Constructor for class io.reactivesocket.client.filter.FailureAwareClient
 
fireAndForget(Payload) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
fireAndForget(Payload) - Method in class io.reactivesocket.client.LoadBalancer
 
FrugalQuantile - Class in io.reactivesocket.stat
Reference: Ma, Qiang, S.
FrugalQuantile(double, double, Random) - Constructor for class io.reactivesocket.stat.FrugalQuantile
 
FrugalQuantile(double) - Constructor for class io.reactivesocket.stat.FrugalQuantile
 

H

higherQuantileLatency() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
Higher quantile value of latency as per last calculation.

I

insert(double) - Method in class io.reactivesocket.stat.Ewma
 
insert(double) - Method in class io.reactivesocket.stat.FrugalQuantile
 
insert(double) - Method in class io.reactivesocket.stat.Median
 
insert(double) - Method in interface io.reactivesocket.stat.Quantile
Insert a data point `x` in the quantile estimator.
interArrivalTime() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
An exponentially weighted moving average value of the time between two requests.
io.reactivesocket.client - package io.reactivesocket.client
 
io.reactivesocket.client.events - package io.reactivesocket.client.events
 
io.reactivesocket.client.filter - package io.reactivesocket.client.filter
 
io.reactivesocket.stat - package io.reactivesocket.stat
 

L

lastTimeUsedMillis() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
Last time this socket was used i.e.
LoadBalancer - Class in io.reactivesocket.client
This ReactiveSocket implementation will load balance the request across a pool of children ReactiveSockets.
LoadBalancer(Publisher<? extends Collection<ReactiveSocketClient>>, double, double, double, double, double, int, int, long, EventPublisher<ClientEventListener>) - Constructor for class io.reactivesocket.client.LoadBalancer
 
LoadBalancer(Publisher<? extends Collection<ReactiveSocketClient>>) - Constructor for class io.reactivesocket.client.LoadBalancer
 
LoadBalancerSocketMetrics - Interface in io.reactivesocket.client
A contract for the metrics managed by LoadBalancer per socket.
LoadBalancingClient - Class in io.reactivesocket.client
An implementation of ReactiveSocketClient that operates on a cluster of target servers instead of a single server.
LoadBalancingClient(LoadBalancerInitializer) - Constructor for class io.reactivesocket.client.LoadBalancingClient
 
LoadBalancingClient.SourceToClient<T> - Class in io.reactivesocket.client
A mapping function from a collection of any type to a collection of ReactiveSocketClient.
LoadBalancingClientListener - Interface in io.reactivesocket.client.events
A ClientEventListener for LoadBalancingClient
LoggingLoadBalancingClientListener - Class in io.reactivesocket.client.events
 
LoggingLoadBalancingClientListener(String, Level) - Constructor for class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
lowerQuantileLatency() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
Lower quantile of latency as per last calculation.

M

Median - Class in io.reactivesocket.stat
This implementation gives better results because it considers more data-point.
Median() - Constructor for class io.reactivesocket.stat.Median
 
medianLatency() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
Median value of latency as per last calculation.
metadataPush(Payload) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
metadataPush(Payload) - Method in class io.reactivesocket.client.LoadBalancer
 

O

onClose() - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
onClose() - Method in class io.reactivesocket.client.LoadBalancer
 

P

pending() - Method in interface io.reactivesocket.client.LoadBalancerSocketMetrics
Number of pending requests at this moment.

Q

Quantile - Interface in io.reactivesocket.stat
 

R

ReactiveSocketClients - Class in io.reactivesocket.client.filter
A collection of various different clients that are available.
ReactiveSockets - Class in io.reactivesocket.client.filter
 
requestChannel(Publisher<Payload>) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
requestChannel(Publisher<Payload>) - Method in class io.reactivesocket.client.LoadBalancer
 
requestResponse(Payload) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
requestResponse(Payload) - Method in class io.reactivesocket.client.LoadBalancer
 
requestStream(Payload) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
requestStream(Payload) - Method in class io.reactivesocket.client.LoadBalancer
 
requestSubscription(Payload) - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
requestSubscription(Payload) - Method in class io.reactivesocket.client.LoadBalancer
 
reset(double) - Method in class io.reactivesocket.stat.Ewma
 

S

safeClose() - Static method in class io.reactivesocket.client.filter.ReactiveSockets
Provides a mapping function to wrap a ReactiveSocket such that a call to ReactiveSocket.close() does not cancel all pending requests.
serverAdded(Availability) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event when a server is added to the load balancer.
serverAdded(Availability) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
serverRemoved(Availability) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event when a server is removed from the load balancer.
serverRemoved(Availability) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
socketAdded(Availability) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
Event when a new socket is added to the load balancer.
socketAdded(Availability) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
socketRefreshPeriodChanged(long, long, TimeUnit) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event when the expected time period for refreshing active sockets in the load balancer changes.
socketRefreshPeriodChanged(long, long, TimeUnit) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
socketRemoved(Availability) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
Event when a socket is removed from the load balancer.
socketRemoved(Availability) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
socketsRefreshCompleted(long, TimeUnit) - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event to mark the end of the socket refresh cycle.
socketsRefreshCompleted(long, TimeUnit) - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
socketsRefreshStart() - Method in interface io.reactivesocket.client.events.LoadBalancingClientListener
An event to mark the start of the socket refresh cycle.
socketsRefreshStart() - Method in class io.reactivesocket.client.events.LoggingLoadBalancingClientListener
 
SourceToClient(Function<T, ReactiveSocketClient>) - Constructor for class io.reactivesocket.client.LoadBalancingClient.SourceToClient
 

T

timeout(long, TimeUnit, Scheduler) - Static method in class io.reactivesocket.client.filter.ReactiveSockets
Provides a mapping function to wrap a ReactiveSocket such that all requests will timeout, if not completed after the specified timeout.
toString() - Method in class io.reactivesocket.client.filter.BackupRequestSocket
 
toString() - Method in class io.reactivesocket.client.filter.FailureAwareClient
 
toString() - Method in class io.reactivesocket.client.LoadBalancer
 
toString() - Method in class io.reactivesocket.stat.Ewma
 
toString() - Method in class io.reactivesocket.stat.FrugalQuantile
 
toString() - Method in class io.reactivesocket.stat.Median
 

V

value() - Method in class io.reactivesocket.stat.Ewma
 

W

wrap(ReactiveSocketClient, Function<ReactiveSocket, ReactiveSocket>) - Static method in class io.reactivesocket.client.filter.ReactiveSocketClients
Wraps the provided client with a mapping function to modify each ReactiveSocket created by the client.
A B C D E F H I L M O P Q R S T V W 
Skip navigation links