Index

C D F I P R S T 
All Classes and Interfaces|All Packages

C

checkMetrics() - Method in class io.aleph0.yap.messaging.test.TestFirehoseProducerWorker
 
checkMetrics() - Method in class io.aleph0.yap.messaging.test.TestRelayProcessorWorker
 

D

defaultScheduler() - Static method in interface io.aleph0.yap.messaging.test.Scheduler
Returns a scheduler that delays messages by a random amount between 80ms and 120ms.
defaultScheduler(Random) - Static method in interface io.aleph0.yap.messaging.test.Scheduler
Returns a scheduler that delays messages by a random amount between 80ms and 120ms using the given random number generator.

F

flushMetrics() - Method in class io.aleph0.yap.messaging.test.TestFirehoseProducerWorker
 
flushMetrics() - Method in class io.aleph0.yap.messaging.test.TestRelayProcessorWorker
 

I

io.aleph0.yap.messaging.test - package io.aleph0.yap.messaging.test
 

P

process(Source<ValueT>, Sink<ValueT>) - Method in class io.aleph0.yap.messaging.test.TestRelayProcessorWorker
 
produce(Sink<Message<T>>) - Method in class io.aleph0.yap.messaging.test.TestFirehoseProducerWorker
 

R

randomScheduler(Random, long, long) - Static method in interface io.aleph0.yap.messaging.test.Scheduler
Returns a scheduler that delays messages by a random amount between base and base + jitter at millisecond precision using the given random number generator.

S

schedule() - Method in interface io.aleph0.yap.messaging.test.Scheduler
Returns the delay until the value should be scheduled.
Scheduler - Interface in io.aleph0.yap.messaging.test
A source of delays useful for scheduling message delivery in tests.

T

TestFirehoseProducerWorker<T> - Class in io.aleph0.yap.messaging.test
A FirehoseProducerWorker that produces messages using a Supplier according to a Scheduler.
TestFirehoseProducerWorker(Scheduler, Supplier<Message<T>>) - Constructor for class io.aleph0.yap.messaging.test.TestFirehoseProducerWorker
 
TestFirehoseProducerWorker(Supplier<Message<T>>) - Constructor for class io.aleph0.yap.messaging.test.TestFirehoseProducerWorker
 
TestRelayProcessorWorker<ValueT> - Class in io.aleph0.yap.messaging.test
A relay processor that simulates a "real" relay processor by delaying the processing of messages.
TestRelayProcessorWorker() - Constructor for class io.aleph0.yap.messaging.test.TestRelayProcessorWorker
Creates a new TestRelayProcessorWorker with the default scheduler.
TestRelayProcessorWorker(Scheduler) - Constructor for class io.aleph0.yap.messaging.test.TestRelayProcessorWorker
Creates a new TestRelayProcessorWorker with the given scheduler.
C D F I P R S T 
All Classes and Interfaces|All Packages