org.elasticsearch.action.admin.indices.cache.clear
Class ClearIndicesCacheRequest

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
      extended by org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class ClearIndicesCacheRequest
extends BroadcastOperationRequest


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
indices
 
Constructor Summary
ClearIndicesCacheRequest(String... indices)
           
 
Method Summary
 boolean bloomCache()
           
 ClearIndicesCacheRequest bloomCache(boolean bloomCache)
           
 boolean fieldDataCache()
           
 ClearIndicesCacheRequest fieldDataCache(boolean fieldDataCache)
           
 String[] fields()
           
 ClearIndicesCacheRequest fields(String... fields)
           
 boolean filterCache()
           
 ClearIndicesCacheRequest filterCache(boolean filterCache)
           
 boolean idCache()
           
 ClearIndicesCacheRequest idCache(boolean idCache)
           
 ClearIndicesCacheRequest listenerThreaded(boolean threadedListener)
          Should the listener be called on a separate thread if needed.
 ClearIndicesCacheRequest operationThreading(BroadcastOperationThreading operationThreading)
          Controls the operation threading model.
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
beforeLocalFork, beforeStart, ignoreIndices, ignoreIndices, indices, indices, listenerThreaded, operationThreading, operationThreading, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearIndicesCacheRequest

public ClearIndicesCacheRequest(String... indices)
Method Detail

listenerThreaded

public ClearIndicesCacheRequest listenerThreaded(boolean threadedListener)
Should the listener be called on a separate thread if needed.

Specified by:
listenerThreaded in interface ActionRequest
Overrides:
listenerThreaded in class BroadcastOperationRequest

operationThreading

public ClearIndicesCacheRequest operationThreading(BroadcastOperationThreading operationThreading)
Controls the operation threading model.

Overrides:
operationThreading in class BroadcastOperationRequest

filterCache

public boolean filterCache()

filterCache

public ClearIndicesCacheRequest filterCache(boolean filterCache)

fieldDataCache

public boolean fieldDataCache()

fieldDataCache

public ClearIndicesCacheRequest fieldDataCache(boolean fieldDataCache)

fields

public ClearIndicesCacheRequest fields(String... fields)

fields

public String[] fields()

idCache

public boolean idCache()

idCache

public ClearIndicesCacheRequest idCache(boolean idCache)

bloomCache

public boolean bloomCache()

bloomCache

public ClearIndicesCacheRequest bloomCache(boolean bloomCache)

readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.