Class GlobalServerMap

java.lang.Object
de.gematik.rbellogger.util.GlobalServerMap

public class GlobalServerMap extends Object
  • Method Details

    • mapPortToProcessIds

      public static void mapPortToProcessIds(int key, long value)
    • updateGlobalServerMap

      public static void updateGlobalServerMap(int portNumber, long processId, String serverId)
    • getProcessIdToBundledServerName

      public static Map<Long,String> getProcessIdToBundledServerName()
    • getPortToProcessId

      public static ConcurrentMap<Integer,Long> getPortToProcessId()
    • getServerNameForPort

      public static Optional<String> getServerNameForPort(int port)
    • addServerNameForPort

      public static void addServerNameForPort(int port, String serverName)
    • clear

      public static void clear()