| Package | Description |
|---|---|
| org.d_haven.event | |
| org.d_haven.event.command | |
| org.d_haven.event.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Pipe
A Source implements the side of an event queue where QueueElements
are dequeued operations only.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EnqueuePredicate.accept(java.lang.Object[] elements,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
boolean |
EnqueuePredicate.accept(java.lang.Object element,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
| Modifier and Type | Method and Description |
|---|---|
Sink |
CommandEventPipeline.getIncomingSink()
Provide a way to get the Sink to send new Commands to.
|
Sink |
CommandEventPipeline.getRecurringSink()
Provide a way to get the Sink to requeue delayed Commands to.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SwitchedEnqueuePredicate.accept(java.lang.Object[] elements,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
boolean |
SwitchedEnqueuePredicate.accept(java.lang.Object element,
Sink modifyingSink)
Tests the given element for acceptance onto the m_sink.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPipe
Provides the base functionality for the other
Pipe
types. |
class |
DefaultPipe
The default queue implementation is a variable size queue.
|
class |
MultiCastSink
This is a
Sink implementation that
multicasts enqueue operations to the contained and concrete sink
objects. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ThresholdEnqueuePredicate.accept(java.lang.Object[] elements,
Sink modifyingSink)
Returns true if the Sink size + the number of elements is less
than the threshold.
|
boolean |
NullEnqueuePredicate.accept(java.lang.Object[] element,
Sink modifyingSink) |
boolean |
RateLimitingPredicate.accept(java.lang.Object[] elements,
Sink sink) |
boolean |
ThresholdEnqueuePredicate.accept(java.lang.Object element,
Sink modifyingSink)
Returns true if the Sink size + 1 (the element) is less than the
threshold.
|
boolean |
NullEnqueuePredicate.accept(java.lang.Object element,
Sink modifyingSink) |
boolean |
RateLimitingPredicate.accept(java.lang.Object element,
Sink sink) |
private boolean |
ThresholdEnqueuePredicate.testThreshold(Sink modifyingSink,
int numElements) |