org.elasticsearch.action.admin.indices.warmer.delete
Class DeleteWarmerRequest

java.lang.Object
  extended by org.elasticsearch.action.support.master.MasterNodeOperationRequest
      extended by org.elasticsearch.action.admin.indices.warmer.delete.DeleteWarmerRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class DeleteWarmerRequest
extends MasterNodeOperationRequest

A request to delete an index warmer.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequest
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
 
Constructor Summary
DeleteWarmerRequest(String name)
          Constructs a new delete warmer request for the specified name.
 
Method Summary
 String[] indices()
          The indices the mappings will be put.
 DeleteWarmerRequest indices(String[] indices)
          Sets the indices this put mapping operation will execute on.
 DeleteWarmerRequest name(String name)
          The name (or wildcard expression) of the index warmer to delete, or null to delete all warmers.
 void readFrom(StreamInput in)
           
 ActionRequestValidationException validate()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequest
listenerThreaded, listenerThreaded, masterNodeTimeout, masterNodeTimeout, masterNodeTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteWarmerRequest

public DeleteWarmerRequest(String name)
Constructs a new delete warmer request for the specified name.

Parameters:
name: - the name (or wildcard expression) of the warmer to match, null to delete all.
Method Detail

validate

public ActionRequestValidationException validate()

name

public DeleteWarmerRequest name(@Nullable
                                String name)
The name (or wildcard expression) of the index warmer to delete, or null to delete all warmers.


indices

public DeleteWarmerRequest indices(String[] indices)
Sets the indices this put mapping operation will execute on.


indices

public String[] indices()
The indices the mappings will be put.


readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class MasterNodeOperationRequest
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class MasterNodeOperationRequest
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.