public final class ShardStateMetaData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
AllocationId |
allocationId |
static MetaDataStateFormat<ShardStateMetaData> |
FORMAT |
java.lang.String |
indexUUID |
long |
legacyVersion |
static long |
NO_VERSION |
boolean |
primary |
Constructor and Description |
---|
ShardStateMetaData(boolean primary,
java.lang.String indexUUID,
AllocationId allocationId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public static final long NO_VERSION
public final long legacyVersion
public final java.lang.String indexUUID
public final boolean primary
@Nullable public final AllocationId allocationId
public static final MetaDataStateFormat<ShardStateMetaData> FORMAT
public ShardStateMetaData(boolean primary, java.lang.String indexUUID, AllocationId allocationId)