Index
All Classes and Interfaces|All Packages
A
- ack(Acknowledgeable.AcknowledgementListener) - Method in interface io.aleph0.yap.messaging.core.Acknowledgeable
-
Acknowledge this object.
- Acknowledgeable - Interface in io.aleph0.yap.messaging.core
- Acknowledgeable.AcknowledgementListener - Interface in io.aleph0.yap.messaging.core
-
A listener that is notified when an acknowledgement or negative acknowledgement is complete.
- acknowledged() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns the value of the
acknowledgedrecord component. - acknowledged() - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Returns the value of the
acknowledgedrecord component. - AcknowledgerConsumerWorker<T> - Class in io.aleph0.yap.messaging.core
-
A
ProcessorWorkerthat receives inputs from upstream, acknowledges the input, and then discards the input. - AcknowledgerConsumerWorker() - Constructor for class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
- AcknowledgerConsumerWorker(AcknowledgerConsumerWorker.AcknowledgementFailureHandler) - Constructor for class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
- AcknowledgerConsumerWorker.AcknowledgementFailureHandler - Interface in io.aleph0.yap.messaging.core
-
Allows the user to customize the behavior of the worker when an acknowledgement fails.
- AcknowledgerMetrics - Record Class in io.aleph0.yap.messaging.core
- AcknowledgerMetrics(long, long, long, long, long) - Constructor for record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Creates an instance of a
AcknowledgerMetricsrecord class. - attributes() - Method in interface io.aleph0.yap.messaging.core.Message
-
Optional key-value metadata associated with the message.
- awaiting() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns the value of the
awaitingrecord component. - awaiting() - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Returns the value of the
awaitingrecord component.
B
C
- checkMetrics() - Method in class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
- checkMetrics() - Method in class io.aleph0.yap.messaging.core.SplitGateProcessorWorker
- consume(Source<T>) - Method in class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
D
- defaultAcknowledgementFailureHandler() - Static method in class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
-
Returns the default
AcknowledgerConsumerWorker.AcknowledgementFailureHandler, which simply re-throws the given failure cause.
E
- equals(Object) - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.aleph0.yap.messaging.core.FirehoseMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.aleph0.yap.messaging.core.SplitGateProcessorWorker.Metrics
-
Indicates whether some other object is "equal to" this one.
F
- FirehoseMetrics - Record Class in io.aleph0.yap.messaging.core
- FirehoseMetrics(long) - Constructor for record class io.aleph0.yap.messaging.core.FirehoseMetrics
-
Creates an instance of a
FirehoseMetricsrecord class. - FirehoseProducerWorker<OutputT> - Interface in io.aleph0.yap.messaging.core
- flushMetrics() - Method in class io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker
- flushMetrics() - Method in class io.aleph0.yap.messaging.core.SplitGateProcessorWorker
G
- gated() - Method in record class io.aleph0.yap.messaging.core.SplitGateProcessorWorker.Metrics
-
Returns the value of the
gatedrecord component.
H
- hashCode() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.aleph0.yap.messaging.core.FirehoseMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.aleph0.yap.messaging.core.SplitGateProcessorWorker.Metrics
-
Returns a hash code value for this object.
I
- id() - Method in interface io.aleph0.yap.messaging.core.Message
-
The message ID.
- input() - Method in record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Returns the value of the
inputrecord component. - io.aleph0.yap.messaging.core - package io.aleph0.yap.messaging.core
M
- Message<T> - Interface in io.aleph0.yap.messaging.core
- Metrics(int) - Constructor for record class io.aleph0.yap.messaging.core.SplitGateProcessorWorker.Metrics
-
Creates an instance of a
Metricsrecord class.
N
- nack(Acknowledgeable.AcknowledgementListener) - Method in interface io.aleph0.yap.messaging.core.Acknowledgeable
-
Negatively acknowledge this object.
O
- onAckFailure(Throwable) - Method in interface io.aleph0.yap.messaging.core.AcknowledgerConsumerWorker.AcknowledgementFailureHandler
-
Called when an
ackfails. - onFailure(Throwable) - Method in interface io.aleph0.yap.messaging.core.Acknowledgeable.AcknowledgementListener
- onSuccess() - Method in interface io.aleph0.yap.messaging.core.Acknowledgeable.AcknowledgementListener
P
- process(Source<Message<X>>, Sink<Message<Y>>) - Method in class io.aleph0.yap.messaging.core.SplitGateProcessorWorker
R
- received() - Method in record class io.aleph0.yap.messaging.core.FirehoseMetrics
-
Returns the value of the
receivedrecord component. - RelayMetrics - Record Class in io.aleph0.yap.messaging.core
- RelayMetrics(long, long, long) - Constructor for record class io.aleph0.yap.messaging.core.RelayMetrics
-
Creates an instance of a
RelayMetricsrecord class. - RelayProcessorWorker<ValueT> - Interface in io.aleph0.yap.messaging.core
- retired() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns the value of the
retiredrecord component. - retiredFailure() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns the value of the
retiredFailurerecord component. - retiredSuccess() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns the value of the
retiredSuccessrecord component.
S
- SimpleSplitGateBody(X, Y) - Constructor for record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Creates an instance of a
SimpleSplitGateBodyrecord class. - SimpleSplitGateProcessorWorker<X,
Y> - Class in io.aleph0.yap.messaging.core - SimpleSplitGateProcessorWorker(Function<X, Collection<Y>>) - Constructor for class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker
- SimpleSplitGateProcessorWorker.SimpleSplitGateBody<X,
Y> - Record Class in io.aleph0.yap.messaging.core - split() - Method in record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Returns the value of the
splitrecord component. - SplitGateProcessorWorker<X,
Y> - Class in io.aleph0.yap.messaging.core -
A
ProcessorWorkerthat implements a gating "split-join" pattern over messages: Each input message is passed through asplitterFunctionthat produces zero or more output messages. If the splitter produces no messages, the input message (after mapping) is forwarded immediately downstream. If the splitter produces one or more messages, the input message is held back. The split messages are sent downstream immediately and tracked for acknowledgement. Once all split messages are acknowledged (acked or nacked), the original message (after mapping) is released downstream. - SplitGateProcessorWorker(Function<X, Y>, Function<X, Collection<Y>>) - Constructor for class io.aleph0.yap.messaging.core.SplitGateProcessorWorker
- SplitGateProcessorWorker.Metrics - Record Class in io.aleph0.yap.messaging.core
- submitted() - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Returns the value of the
submittedrecord component.
T
- toString() - Method in record class io.aleph0.yap.messaging.core.AcknowledgerMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class io.aleph0.yap.messaging.core.FirehoseMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class io.aleph0.yap.messaging.core.RelayMetrics
-
Returns a string representation of this record class.
- toString() - Method in record class io.aleph0.yap.messaging.core.SimpleSplitGateProcessorWorker.SimpleSplitGateBody
-
Returns a string representation of this record class.
- toString() - Method in record class io.aleph0.yap.messaging.core.SplitGateProcessorWorker.Metrics
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages