Package io.aeron.driver.ext
Class DebugChannelEndpointConfiguration
java.lang.Object
io.aeron.driver.ext.DebugChannelEndpointConfiguration
Configuration options to be applied when
DebugSendChannelEndpoint and DebugReceiveChannelEndpoint
are load.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty name for receiver outbound control loss rate.static final StringProperty name for receiver outbound control loss seed.static final StringProperty name for receiver inbound data loss rate.static final StringProperty name for receiver inbound data loss seed.static final StringProperty name for sender inbound control loss rate.static final StringProperty name for sender inbound control loss seed.static final StringProperty name for sender outbound data loss rate.static final StringProperty name for sender outbound data loss seed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LossGeneratorlossGeneratorSupplier(double lossRate, long lossSeed) Supplier ofLossGenerators with provided loss rate and seed for randomisation.static LossGeneratorThe supplier ofLossGenerators for the receiving end of a control stream.static LossGeneratorThe supplier ofLossGenerators for the receiving end of a data stream.static LossGeneratorThe supplier ofLossGenerators for the send end of a control stream.static LossGeneratorThe supplier ofLossGenerators for the send end of a data stream.
-
Field Details
-
RECEIVE_DATA_LOSS_RATE_PROP_NAME
Property name for receiver inbound data loss rate.- See Also:
-
RECEIVE_DATA_LOSS_SEED_PROP_NAME
Property name for receiver inbound data loss seed.- See Also:
-
RECEIVE_CONTROL_LOSS_RATE_PROP_NAME
Property name for receiver outbound control loss rate.- See Also:
-
RECEIVE_CONTROL_LOSS_SEED_PROP_NAME
Property name for receiver outbound control loss seed.- See Also:
-
SEND_DATA_LOSS_RATE_PROP_NAME
Property name for sender outbound data loss rate.- See Also:
-
SEND_DATA_LOSS_SEED_PROP_NAME
Property name for sender outbound data loss seed.- See Also:
-
SEND_CONTROL_LOSS_RATE_PROP_NAME
Property name for sender inbound control loss rate.- See Also:
-
SEND_CONTROL_LOSS_SEED_PROP_NAME
Property name for sender inbound control loss seed.- See Also:
-
-
Constructor Details
-
DebugChannelEndpointConfiguration
public DebugChannelEndpointConfiguration()
-
-
Method Details
-
lossGeneratorSupplier
Supplier ofLossGenerators with provided loss rate and seed for randomisation.- Parameters:
lossRate- to generate at.lossSeed- to initialise.- Returns:
- a
LossGenerators with provided loss rate and seed.
-
receiveDataLossGeneratorSupplier
The supplier ofLossGenerators for the receiving end of a data stream.- Returns:
- the supplier of
LossGenerators for the receiving end of a data stream.
-
receiveControlLossGeneratorSupplier
The supplier ofLossGenerators for the receiving end of a control stream.- Returns:
- the supplier of
LossGenerators for the receiving end of a control stream.
-
sendDataLossGeneratorSupplier
The supplier ofLossGenerators for the send end of a data stream.- Returns:
- the supplier of
LossGenerators for the send end of a data stream.
-
sendControlLossGeneratorSupplier
The supplier ofLossGenerators for the send end of a control stream.- Returns:
- the supplier of
LossGenerators for the send end of a control stream.
-