Class MessageConsumerOp

java.lang.Object
io.nosqlbench.adapter.s4j.ops.S4JOp
io.nosqlbench.adapter.s4j.ops.MessageConsumerOp
All Implemented Interfaces:
CycleOp<Object>, LongFunction<Object>

public class MessageConsumerOp extends S4JOp
  • Constructor Details

    • MessageConsumerOp

      public MessageConsumerOp(S4JAdapterMetrics s4jAdapterMetrics, S4JSpace s4jSpace, javax.jms.JMSContext jmsContext, javax.jms.Destination destination, boolean asyncApi, boolean commitTransact, javax.jms.JMSConsumer jmsConsumer, boolean blockingMsgRecv, float msgAckRatio, long readTimeout, boolean recvNoWait, int slowInSec)
  • Method Details

    • apply

      public Object apply(long value)
      Description copied from interface: CycleOp

      Run an action for the given cycle.

      Parameters:
      value - The cycle value for which an operation is run