Class AbstractSamplingService
java.lang.Object
org.apache.fineract.infrastructure.core.diagnostics.performance.sampling.core.AbstractSamplingService
- All Implemented Interfaces:
SamplingService
- Direct Known Subclasses:
InMemorySamplingService
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.fineract.infrastructure.core.diagnostics.performance.sampling.core.SamplingService
getSamplingData
-
Constructor Details
-
AbstractSamplingService
public AbstractSamplingService(int samplingRate)
-
-
Method Details
-
sample
- Specified by:
samplein interfaceSamplingService
-
sample
- Specified by:
samplein interfaceSamplingService
-
reset
public void reset()- Specified by:
resetin interfaceSamplingService
-
doReset
protected void doReset()Subclasses can override this to do specific cleanup. -
takeSample
-