Package org.opends.server.util.cli
Class PointAdder
- java.lang.Object
-
- org.opends.server.util.cli.PointAdder
-
-
Constructor Summary
Constructors Constructor Description PointAdder(ConsoleApplication app)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidstart()Starts the PointAdder: points are added at the end of the logs periodically.voidstop()Stops the PointAdder: points are no longer added at the end of the logs periodically.
-
-
-
Constructor Detail
-
PointAdder
public PointAdder(ConsoleApplication app)
Default constructor.- Parameters:
app- The console application to be used. Creates a PointAdder that writes to the standard output with the default period time.
-
-
Method Detail
-
start
public void start()
Starts the PointAdder: points are added at the end of the logs periodically.
-
stop
public void stop()
Stops the PointAdder: points are no longer added at the end of the logs periodically.Calling this method on a PointAdder that was never started is a no-op: callers commonly create the PointAdder before the code path that starts it and stop it from a
finallyblock.
-
-