org.elasticsearch.action
Interface ActionRequest

All Superinterfaces:
Streamable
All Known Implementing Classes:
AnalyzeRequest, BroadcastOperationRequest, BulkRequest, BulkShardRequest, ClearIndicesCacheRequest, CloseIndexRequest, ClusterHealthRequest, ClusterRerouteRequest, ClusterStateRequest, ClusterUpdateSettingsRequest, CountRequest, CreateIndexRequest, DeleteByQueryRequest, DeleteIndexRequest, DeleteIndexTemplateRequest, DeleteMappingRequest, DeleteRequest, DeleteWarmerRequest, ExplainRequest, FlushRequest, GatewaySnapshotRequest, GetRequest, IndexDeleteByQueryRequest, IndexDeleteRequest, IndexReplicationOperationRequest, IndexRequest, IndicesAliasesRequest, IndicesExistsRequest, IndicesReplicationOperationRequest, IndicesSegmentsRequest, IndicesStatsRequest, IndicesStatusRequest, InstanceShardOperationRequest, MappingUpdatedAction.MappingUpdatedRequest, MasterNodeOperationRequest, MoreLikeThisRequest, MultiGetRequest, MultiGetShardRequest, MultiSearchRequest, NodesHotThreadsRequest, NodesInfoRequest, NodesOperationRequest, NodesRestartRequest, NodesShutdownRequest, NodesStatsRequest, OpenIndexRequest, OptimizeRequest, PercolateRequest, PutIndexTemplateRequest, PutMappingRequest, PutWarmerRequest, RefreshRequest, SearchRequest, SearchScrollRequest, ShardDeleteByQueryRequest, ShardDeleteRequest, ShardReplicationOperationRequest, SingleCustomOperationRequest, SingleShardOperationRequest, UpdateRequest, UpdateSettingsRequest, ValidateQueryRequest

public interface ActionRequest
extends Streamable


Method Summary
 boolean listenerThreaded()
          Should the response listener be executed on a thread or not.
 ActionRequest listenerThreaded(boolean listenerThreaded)
          Sets if the response listener be executed on a thread or not.
 ActionRequestValidationException validate()
           
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 

Method Detail

validate

ActionRequestValidationException validate()

listenerThreaded

boolean listenerThreaded()
Should the response listener be executed on a thread or not.

When not executing on a thread, it will either be executed on the calling thread, or on an expensive, IO based, thread.


listenerThreaded

ActionRequest listenerThreaded(boolean listenerThreaded)
Sets if the response listener be executed on a thread or not.



Copyright © 2009-2012. All Rights Reserved.