Package com.streambase.sb.monitor
Class StatsUtil.IdentityManager
java.lang.Object
com.streambase.sb.monitor.StatsUtil.IdentityManager
- Enclosing class:
- com.streambase.sb.monitor.StatsUtil
This class manages the identity in server
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllForContainer
(int id) Get the id to name mapping for the whole container that owns the idint
getName
(long id) Get the name associated with the ID.void
long
putIfAbsent
(String containerName, String itemName)
-
Field Details
-
containers
-
identities
-
-
Constructor Details
-
IdentityManager
public IdentityManager()
-
-
Method Details
-
putIfAbsent
-
purgeRemoved
public void purgeRemoved() -
getName
Get the name associated with the ID.- Parameters:
id
-- Returns:
- a name
-
getAllForContainer
Get the id to name mapping for the whole container that owns the id- Parameters:
id
-- Returns:
- name
-
getContainerCount
public int getContainerCount()
-