public void unMarkEventProcessorsAsEndOfChain(final Sequence... barrierEventProcessors) { for (Sequence barrierEventProcessor : barrierEventProcessors) { getEventProcessorInfo(barrierEventProcessor).markAsUsedInBarrier(); } }
public EventProcessor getEventProcessorFor(final EventHandler<T> handler) { final EventProcessorInfo<T> eventprocessorInfo = getEventProcessorInfo(handler); if (eventprocessorInfo == null) { throw new IllegalArgumentException("The event handler " + handler + " is not processing events."); } return eventprocessorInfo.getEventProcessor(); }
public SequenceBarrier getBarrierFor(final EventHandler<T> handler) { final ConsumerInfo consumerInfo = getEventProcessorInfo(handler); return consumerInfo != null ? consumerInfo.getBarrier() : null; }
public EventProcessor getEventProcessorFor(final EventHandler<T> handler) { final EventProcessorInfo<T> eventprocessorInfo = getEventProcessorInfo(handler); if (eventprocessorInfo == null) { throw new IllegalArgumentException("The event handler " + handler + " is not processing events."); } return eventprocessorInfo.getEventProcessor(); }
public void unMarkEventProcessorsAsEndOfChain(final Sequence... barrierEventProcessors) { for (Sequence barrierEventProcessor : barrierEventProcessors) { getEventProcessorInfo(barrierEventProcessor).markAsUsedInBarrier(); } }
public SequenceBarrier getBarrierFor(final EventHandler<T> handler) { final ConsumerInfo consumerInfo = getEventProcessorInfo(handler); return consumerInfo != null ? consumerInfo.getBarrier() : null; }
public void unMarkEventProcessorsAsEndOfChain(final Sequence... barrierEventProcessors) { for (Sequence barrierEventProcessor : barrierEventProcessors) { getEventProcessorInfo(barrierEventProcessor).markAsUsedInBarrier(); } }
public SequenceBarrier getBarrierFor(final EventHandler<T> handler) { final ConsumerInfo consumerInfo = getEventProcessorInfo(handler); return consumerInfo != null ? consumerInfo.getBarrier() : null; }
public EventProcessor getEventProcessorFor(final EventHandler<T> handler) { final EventProcessorInfo<?> eventprocessorInfo = getEventProcessorInfo(handler); if (eventprocessorInfo == null) { throw new IllegalArgumentException("The event handler " + handler + " is not processing events."); } return eventprocessorInfo.getEventProcessor(); }
public void unMarkEventProcessorsAsEndOfChain(final Sequence... barrierEventProcessors) { for (Sequence barrierEventProcessor : barrierEventProcessors) { getEventProcessorInfo(barrierEventProcessor).markAsUsedInBarrier(); } }
public SequenceBarrier getBarrierFor(final EventHandler<T> handler) { final ConsumerInfo consumerInfo = getEventProcessorInfo(handler); return consumerInfo != null ? consumerInfo.getBarrier() : null; }
public EventProcessor getEventProcessorFor(final EventHandler<T> handler) { final EventProcessorInfo<T> eventprocessorInfo = getEventProcessorInfo(handler); if (eventprocessorInfo == null) { throw new IllegalArgumentException("The event handler " + handler + " is not processing events."); } return eventprocessorInfo.getEventProcessor(); }
public EventProcessor getEventProcessorFor(final EventHandler<T> handler) { final EventProcessorInfo<T> eventprocessorInfo = getEventProcessorInfo(handler); if (eventprocessorInfo == null) { throw new IllegalArgumentException("The event handler " + handler + " is not processing events."); } return eventprocessorInfo.getEventProcessor(); }
public void unMarkEventProcessorsAsEndOfChain(final Sequence... barrierEventProcessors) { for (Sequence barrierEventProcessor : barrierEventProcessors) { getEventProcessorInfo(barrierEventProcessor).markAsUsedInBarrier(); } }
public SequenceBarrier getBarrierFor(final EventHandler<T> handler) { final ConsumerInfo consumerInfo = getEventProcessorInfo(handler); return consumerInfo != null ? consumerInfo.getBarrier() : null; }