Class HistoryKey

java.lang.Object
org.jolokia.service.history.HistoryKey
All Implemented Interfaces:
Serializable

public class HistoryKey extends Object implements Serializable
Key used in the HistoryStore for indexing historical values. The key has a type reflecting the kind of JMX operataion (attribute or operation) and can be used in proxy mode for different targets.
Since:
Jun 12, 2009
Author:
roland
See Also:
  • Constructor Details

  • Method Details

    • isMBeanPattern

      public boolean isMBeanPattern()
      Whether this key embraces a MBean pattern
      Returns:
      true if the the included MBean is a pattern
    • matches

      public boolean matches(HistoryKey pKey)
      Whether the key matches the given MBean name
      Parameters:
      pKey - to match
      Returns:
      true if the given mbean matches the Mbean encapsulated by this key
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object