Module org.elasticsearch.server
Class RecoverySource.ExistingStoreRecoverySource
java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
org.elasticsearch.cluster.routing.RecoverySource.ExistingStoreRecoverySource
- All Implemented Interfaces:
Writeable
,ToXContent
,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.Type
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RecoverySource.ExistingStoreRecoverySource
static final String
Special allocation id that shard has during initialization on allocate_stale_primarystatic final RecoverySource.ExistingStoreRecoverySource
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalFields
(XContentBuilder builder, ToXContent.Params params) to be overridden by subclassesboolean
getType()
boolean
toString()
protected void
to be overridden by subclassesMethods inherited from class org.elasticsearch.cluster.routing.RecoverySource
equals, hashCode, readFrom, toXContent, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
FORCED_ALLOCATION_ID
Special allocation id that shard has during initialization on allocate_stale_primary- See Also:
-
INSTANCE
-
FORCE_STALE_PRIMARY_INSTANCE
-
-
Method Details
-
addAdditionalFields
public void addAdditionalFields(XContentBuilder builder, ToXContent.Params params) throws IOException Description copied from class:RecoverySource
to be overridden by subclasses- Overrides:
addAdditionalFields
in classRecoverySource
- Throws:
IOException
-
writeAdditionalFields
Description copied from class:RecoverySource
to be overridden by subclasses- Overrides:
writeAdditionalFields
in classRecoverySource
- Throws:
IOException
-
shouldBootstrapNewHistoryUUID
public boolean shouldBootstrapNewHistoryUUID()- Overrides:
shouldBootstrapNewHistoryUUID
in classRecoverySource
-
getType
- Specified by:
getType
in classRecoverySource
-
toString
-
expectEmptyRetentionLeases
public boolean expectEmptyRetentionLeases()- Overrides:
expectEmptyRetentionLeases
in classRecoverySource
-