org.elasticsearch.action.admin.indices.create
Class CreateIndexResponse

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.create.CreateIndexResponse
All Implemented Interfaces:
ActionResponse, Streamable

public class CreateIndexResponse
extends Object
implements ActionResponse, Streamable

A response for a create index action.


Method Summary
 boolean acknowledged()
          Has the index creation been acknowledged by all current cluster nodes within the provided CreateIndexRequest.timeout(org.elasticsearch.common.unit.TimeValue).
 boolean getAcknowledged()
          Has the index creation been acknowledged by all current cluster nodes within the provided CreateIndexRequest.timeout(org.elasticsearch.common.unit.TimeValue).
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acknowledged

public boolean acknowledged()
Has the index creation been acknowledged by all current cluster nodes within the provided CreateIndexRequest.timeout(org.elasticsearch.common.unit.TimeValue).


getAcknowledged

public boolean getAcknowledged()
Has the index creation been acknowledged by all current cluster nodes within the provided CreateIndexRequest.timeout(org.elasticsearch.common.unit.TimeValue).


readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.