Class CachesStatsRequest

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

public class CachesStatsRequest extends Object implements Validatable
  • Constructor Details

    • CachesStatsRequest

      public CachesStatsRequest(String... nodesIds)
  • Method Details

    • getNodesIds

      public String[] getNodesIds()
    • validate

      public 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.