Class DanglingIndexInfo
java.lang.Object
org.elasticsearch.action.admin.indices.dangling.DanglingIndexInfo
- All Implemented Interfaces:
Writeable
public class DanglingIndexInfo extends java.lang.Object implements Writeable
Contains information about a dangling index, i.e. an index that Elasticsearch has found
on-disk but is not present in the cluster state.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description DanglingIndexInfo(java.lang.String nodeId, java.lang.String indexName, java.lang.String indexUUID, long creationDateMillis)
DanglingIndexInfo(StreamInput in)
-
Method Summary
Modifier and Type Method Description long
getCreationDateMillis()
java.lang.String
getIndexName()
java.lang.String
getIndexUUID()
java.lang.String
getNodeId()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DanglingIndexInfo
public DanglingIndexInfo(java.lang.String nodeId, java.lang.String indexName, java.lang.String indexUUID, long creationDateMillis) -
DanglingIndexInfo
- Throws:
java.io.IOException
-
-
Method Details
-
getIndexName
public java.lang.String getIndexName() -
getIndexUUID
public java.lang.String getIndexUUID() -
getNodeId
public java.lang.String getNodeId() -
getCreationDateMillis
public long getCreationDateMillis() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.
-