Class TestRelayProcessorWorker<ValueT>

java.lang.Object
io.aleph0.yap.messaging.test.TestRelayProcessorWorker<ValueT>
Type Parameters:
ValueT - the type of the value to process
All Implemented Interfaces:
io.aleph0.yap.core.Measureable<RelayMetrics>, io.aleph0.yap.core.ProcessorWorker<ValueT,ValueT>, io.aleph0.yap.core.worker.MeasuredProcessorWorker<ValueT,ValueT,RelayMetrics>, RelayProcessorWorker<ValueT>

public class TestRelayProcessorWorker<ValueT> extends Object implements RelayProcessorWorker<ValueT>
A relay processor that simulates a "real" relay processor by delaying the processing of messages. This is useful for testing and debugging purposes, as it allows you to simulate the behavior of a relay processor without actually sending the messages anywhere.