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 long
addTime(long time)
List<String>
getCaller()
long
getCount()
String
getHash()
long
getTotalTime()
long
incCount()
-
-
-
Method Detail
-
getHash
public String getHash()
- Specified by:
getHash
in interfaceCallerCount
-
getCaller
public List<String> getCaller()
- Specified by:
getCaller
in interfaceCallerCount
-
getCount
public long getCount()
- Specified by:
getCount
in interfaceCallerCount
-
incCount
public long incCount()
- Specified by:
incCount
in interfaceCallerCount
-
getTotalTime
public long getTotalTime()
- Specified by:
getTotalTime
in interfaceCallerCount
-
addTime
public long addTime(long time)
- Specified by:
addTime
in interfaceCallerCount
-
-