Class ScriptCache.CompilationRate

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

public static class ScriptCache.CompilationRate
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    int count  
    org.elasticsearch.common.unit.TimeValue time  
  • Constructor Summary

    Constructors
    Constructor Description
    CompilationRate​(java.lang.Integer count, org.elasticsearch.common.unit.TimeValue time)  
    CompilationRate​(java.lang.String value)
    Parses a string as a non-negative int count and a TimeValue as arguments split by a slash
    CompilationRate​(org.elasticsearch.common.collect.Tuple<java.lang.Integer,​org.elasticsearch.common.unit.TimeValue> rate)  
  • Method Summary

    Modifier and Type Method Description
    org.elasticsearch.common.collect.Tuple<java.lang.Integer,​org.elasticsearch.common.unit.TimeValue> asTuple()  
    boolean equals​(java.lang.Object o)  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • count

      public final int count
    • time

      public final org.elasticsearch.common.unit.TimeValue time
  • Constructor Details

    • CompilationRate

      public CompilationRate​(java.lang.Integer count, org.elasticsearch.common.unit.TimeValue time)
    • CompilationRate

      public CompilationRate​(org.elasticsearch.common.collect.Tuple<java.lang.Integer,​org.elasticsearch.common.unit.TimeValue> rate)
    • CompilationRate

      public CompilationRate​(java.lang.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.common.collect.Tuple<java.lang.Integer,​org.elasticsearch.common.unit.TimeValue> asTuple()
    • toString

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

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object