Class StressCommand
- java.lang.Object
-
- org.opennms.netmgt.collection.commands.StressCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class StressCommand extends Object implements org.apache.karaf.shell.api.action.Action
Used to stress the persistence layer with generated collection sets.- Author:
- jwhite
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
StressCommand.MockCollectionAgent
-
Constructor Summary
Constructors Constructor Description StressCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
execute()
protected CollectionSet
generateCollectionSet(CollectionAgent agent, int nodeId, int interfaceId, Resource resource)
-
-
-
Method Detail
-
execute
public Void execute() throws Exception
- Specified by:
execute
in interfaceorg.apache.karaf.shell.api.action.Action
- Throws:
Exception
-
generateCollectionSet
protected CollectionSet generateCollectionSet(CollectionAgent agent, int nodeId, int interfaceId, Resource resource)
-
-