Class CallerCountImpl
- java.lang.Object
-
- org.apache.unomi.metrics.internal.CallerCountImpl
-
- All Implemented Interfaces:
CallerCount
public class CallerCountImpl extends Object implements CallerCount
-
-
Constructor Summary
Constructors Constructor Description CallerCountImpl(String hash, List<String> caller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaddTime(long time)List<String>getCaller()longgetCount()StringgetHash()longgetTotalTime()longincCount()
-
-
-
Method Detail
-
getHash
public String getHash()
- Specified by:
getHashin interfaceCallerCount
-
getCaller
public List<String> getCaller()
- Specified by:
getCallerin interfaceCallerCount
-
getCount
public long getCount()
- Specified by:
getCountin interfaceCallerCount
-
incCount
public long incCount()
- Specified by:
incCountin interfaceCallerCount
-
getTotalTime
public long getTotalTime()
- Specified by:
getTotalTimein interfaceCallerCount
-
addTime
public long addTime(long time)
- Specified by:
addTimein interfaceCallerCount
-
-