Class CachesStatsRequest

java.lang.Object
org.elasticsearch.client.searchable_snapshots.CachesStatsRequest
All Implemented Interfaces:
Validatable

public class CachesStatsRequest
extends java.lang.Object
implements Validatable
  • Field Summary

    Fields inherited from interface org.elasticsearch.client.Validatable

    EMPTY
  • Constructor Summary

    Constructors
    Constructor Description
    CachesStatsRequest​(java.lang.String... nodesIds)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String[] getNodesIds()  
    java.util.Optional<ValidationException> validate()
    Perform validation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CachesStatsRequest

      public CachesStatsRequest​(java.lang.String... nodesIds)
  • Method Details

    • getNodesIds

      public java.lang.String[] getNodesIds()
    • validate

      public java.util.Optional<ValidationException> validate()
      Description copied from interface: Validatable
      Perform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. A ValidationException that is not null is assumed to contain validation errors and will be thrown.
      Specified by:
      validate in interface Validatable
      Returns:
      An Optional ValidationException that contains a list of validation errors.