Package com.streambase.sb.monitor
Class StatsUtil.IdentityHelper
- java.lang.Object
-
- com.streambase.sb.monitor.StatsUtil.IdentityHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StatsUtil.IdentityHelper.IdentityUpdater
-
Constructor Summary
Constructors Constructor Description IdentityHelper(StatsUtil.IdentityHelper.IdentityUpdater updater)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getContainerCount()
String
getName(StatTuplev3 st)
String
getNameFromId(long id)
Stats Stream v3 only.void
purgeRemoved()
-
-
-
Constructor Detail
-
IdentityHelper
public IdentityHelper(StatsUtil.IdentityHelper.IdentityUpdater updater)
-
-
Method Detail
-
getNameFromId
public String getNameFromId(long id) throws StreamBaseException
Stats Stream v3 only. Returns ID instead of name for each item. This method retrieves the mapping of id to name from server.- Returns:
- the fully qualified name
- Throws:
StreamBaseException
-
getName
public String getName(StatTuplev3 st) throws StreamBaseException
- Throws:
StreamBaseException
-
purgeRemoved
public void purgeRemoved()
-
getContainerCount
public int getContainerCount()
-
-