Package com.streambase.sb.monitor
Class StatsUtil.IdentityManager
- java.lang.Object
-
- com.streambase.sb.monitor.StatsUtil.IdentityManager
-
-
Constructor Summary
Constructors Constructor Description IdentityManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Integer,String>getAllForContainer(int id)Get the id to name mapping for the whole container that owns the idintgetContainerCount()StringgetName(long id)Get the name associated with the ID.voidpurgeRemoved()longputIfAbsent(String containerName, String itemName)
-
-
-
Method Detail
-
purgeRemoved
public void purgeRemoved()
-
getName
public String getName(long id)
Get the name associated with the ID.- Parameters:
id-- Returns:
- a name
-
getAllForContainer
public Map<Integer,String> getAllForContainer(int id)
Get the id to name mapping for the whole container that owns the id- Parameters:
id-- Returns:
- name
-
getContainerCount
public int getContainerCount()
-
-