Class StatsUtil.IdentityManager

  • Enclosing class:
    StatsUtil

    public static class StatsUtil.IdentityManager
    extends Object
    This class manages the identity in server
    • Constructor Detail

      • IdentityManager

        public IdentityManager()
    • Method Detail

      • putIfAbsent

        public long putIfAbsent​(String containerName,
                                String itemName)
      • 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()