Class FlowWriterConcurrent
java.lang.Object
org.opendaylight.openflowplugin.applications.bulk.o.matic.FlowWriterConcurrent
- All Implemented Interfaces:
FlowCounterMBean
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFlowWriterConcurrent
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ExecutorService flowPusher) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFlows
(Integer dpnCount, Integer flowsPerDPN, int batchSize, int sleepMillis, int sleepAfter, short startTableId, short endTableId, boolean isCreateParents) void
deleteFlows
(Integer dpnCount, Integer flowsPerDPN, int batchSize, short startTableId, short endTableId) long
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.openflowplugin.applications.bulk.o.matic.FlowCounterMBean
getFlowCount, getReadOpStatus, getTableCount, getUnits
-
Field Details
-
USING_CONCURRENT_IMPLEMENTATION_OF_FLOW_WRITER
- See Also:
-
-
Constructor Details
-
FlowWriterConcurrent
public FlowWriterConcurrent(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ExecutorService flowPusher)
-
-
Method Details
-
addFlows
-
deleteFlows
-
getWriteOpStatus
public int getWriteOpStatus()- Specified by:
getWriteOpStatus
in interfaceFlowCounterMBean
-
getTaskCompletionTime
public long getTaskCompletionTime()- Specified by:
getTaskCompletionTime
in interfaceFlowCounterMBean
-