Package com.evolveum.midpoint.ninja.util
Class OperationStatus
- java.lang.Object
-
- com.evolveum.midpoint.ninja.util.OperationStatus
-
public class OperationStatus extends Object
Created by Viliam Repan (lazyman).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationStatus.State
-
Constructor Summary
Constructors Constructor Description OperationStatus(NinjaContext context, OperationResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
double
getAvgRequestPerSecond()
int
getErrorCount()
OperationResult
getResult()
int
getSkippedCount()
OperationStatus.State
getState()
int
getTotalCount()
double
getTotalTime()
void
incrementError()
void
incrementSkipped()
void
incrementTotal()
boolean
isFinished()
boolean
isProducerFinished()
boolean
isStarted()
void
lastPrintoutNow()
String
print()
void
print(Log log)
void
producerFinish()
void
start()
-
-
-
Constructor Detail
-
OperationStatus
public OperationStatus(NinjaContext context, OperationResult result)
-
-
Method Detail
-
getResult
public OperationResult getResult()
-
getState
public OperationStatus.State getState()
-
start
public void start()
-
finish
public void finish()
-
producerFinish
public void producerFinish()
-
isStarted
public boolean isStarted()
-
isFinished
public boolean isFinished()
-
isProducerFinished
public boolean isProducerFinished()
-
getTotalCount
public int getTotalCount()
-
getErrorCount
public int getErrorCount()
-
getSkippedCount
public int getSkippedCount()
-
incrementTotal
public void incrementTotal()
-
incrementError
public void incrementError()
-
incrementSkipped
public void incrementSkipped()
-
getTotalTime
public double getTotalTime()
-
getAvgRequestPerSecond
public double getAvgRequestPerSecond()
-
print
public String print()
-
print
public void print(Log log)
-
lastPrintoutNow
public void lastPrintoutNow()
-
-