Class ScriptCache.CompilationRate

java.lang.Object
org.elasticsearch.script.ScriptCache.CompilationRate
Enclosing class:
ScriptCache

public static class ScriptCache.CompilationRate extends Object
  • Field Details

    • count

      public final int count
    • time

      public final org.elasticsearch.core.TimeValue time
  • Constructor Details

    • CompilationRate

      public CompilationRate(Integer count, org.elasticsearch.core.TimeValue time)
    • CompilationRate

      public CompilationRate(org.elasticsearch.core.Tuple<Integer,org.elasticsearch.core.TimeValue> rate)
    • CompilationRate

      public CompilationRate(String value)
      Parses a string as a non-negative int count and a TimeValue as arguments split by a slash
  • Method Details

    • asTuple

      public org.elasticsearch.core.Tuple<Integer,org.elasticsearch.core.TimeValue> asTuple()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object