Class XJMFTypeMap

java.lang.Object
org.cip4.jdflib.extensions.xjdfwalker.XJMFTypeMap
All Implemented Interfaces:
Runnable

public class XJMFTypeMap extends Object implements Runnable
class to maintain a map of refID to type values so that we can correctly modify @Type in responses messages older than 4242 seconds are discarded
  • Method Details

    • getMap

      public static XJMFTypeMap getMap()
      Returns:
    • put

      public String put(String key, String value)
      Parameters:
      key -
      value -
      Returns:
    • remove

      public String remove(String key)
      Parameters:
      key -
      Returns:
    • get

      public String get(String key)
      Parameters:
      key -
      Returns:
    • clear

      public void clear()
    • run

      public void run()
      called by the sweeper
      Specified by:
      run in interface Runnable
      See Also:
    • shutDown

      public static void shutDown()
    • size

      public int size()
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object