Package ntfbenchmark.impl
Class AbstractNtfbenchProducer
java.lang.Object
ntfbenchmark.impl.AbstractNtfbenchProducer
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
NtfbenchBlockingProducer,NtfbenchNonblockingProducer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbenchprotected intprotected intprotected final org.opendaylight.mdsal.binding.api.NotificationPublishService -
Constructor Summary
ConstructorsConstructorDescriptionAbstractNtfbenchProducer(org.opendaylight.mdsal.binding.api.NotificationPublishService publishService, int iterations, int payloadSize) -
Method Summary
Modifier and TypeMethodDescriptionintReturn number of unsuccessful notifications.intgetNtfOk()Return number of successful notifications.
-
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
-