Class AbstractNtfbenchProducer

java.lang.Object
ntfbenchmark.impl.AbstractNtfbenchProducer
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
NtfbenchBlockingProducer, NtfbenchNonblockingProducer

public abstract class AbstractNtfbenchProducer extends Object implements Runnable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     
    protected final org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench
     
    protected int
     
    protected int
     
    protected final org.opendaylight.mdsal.binding.api.NotificationPublishService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractNtfbenchProducer(org.opendaylight.mdsal.binding.api.NotificationPublishService publishService, int iterations, int payloadSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return number of unsuccessful notifications.
    int
    Return number of successful notifications.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Runnable

    run
  • Field Details

    • publishService

      protected final org.opendaylight.mdsal.binding.api.NotificationPublishService publishService
    • iterations

      protected final int iterations
    • ntf

      protected final org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench ntf
    • ntfOk

      protected int ntfOk
    • ntfError

      protected int ntfError
  • Constructor Details

    • AbstractNtfbenchProducer

      public AbstractNtfbenchProducer(org.opendaylight.mdsal.binding.api.NotificationPublishService publishService, int iterations, int payloadSize)
  • Method Details

    • getNtfOk

      public int getNtfOk()
      Return number of successful notifications.
      Returns:
      the ntfOk
    • getNtfError

      public int getNtfError()
      Return number of unsuccessful notifications.
      Returns:
      the ntfError