Class RecoverySource.ExistingStoreRecoverySource
java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
org.elasticsearch.cluster.routing.RecoverySource.ExistingStoreRecoverySource
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
- Enclosing class:
- RecoverySource
Recovery from an existing on-disk store
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.cluster.routing.RecoverySource
RecoverySource.EmptyStoreRecoverySource, RecoverySource.ExistingStoreRecoverySource, RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.SnapshotRecoverySource, RecoverySource.TypeNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringSpecial allocation id that shard has during initialization on allocate_stale_primaryFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalFields(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)to be overridden by subclassesbooleangetType()booleantoString()protected voidto be overridden by subclassesMethods inherited from class org.elasticsearch.cluster.routing.RecoverySource
equals, hashCode, readFrom, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
FORCED_ALLOCATION_ID
Special allocation id that shard has during initialization on allocate_stale_primary- See Also:
- Constant Field Values
-
INSTANCE
-
FORCE_STALE_PRIMARY_INSTANCE
-
-
Method Details
-
addAdditionalFields
public void addAdditionalFields(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOExceptionDescription copied from class:RecoverySourceto be overridden by subclasses- Overrides:
addAdditionalFieldsin classRecoverySource- Throws:
IOException
-
writeAdditionalFields
Description copied from class:RecoverySourceto be overridden by subclasses- Overrides:
writeAdditionalFieldsin classRecoverySource- Throws:
IOException
-
shouldBootstrapNewHistoryUUID
public boolean shouldBootstrapNewHistoryUUID()- Overrides:
shouldBootstrapNewHistoryUUIDin classRecoverySource
-
getType
- Specified by:
getTypein classRecoverySource
-
toString
-
expectEmptyRetentionLeases
public boolean expectEmptyRetentionLeases()- Overrides:
expectEmptyRetentionLeasesin classRecoverySource
-