Class RecoverySource.PeerRecoverySource
java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
org.elasticsearch.cluster.routing.RecoverySource.PeerRecoverySource
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentObject
- Enclosing class:
- RecoverySource
public static class RecoverySource.PeerRecoverySource extends RecoverySource
peer recovery from a primary shard
-
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.common.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
Fields Modifier and Type Field Description static RecoverySource.PeerRecoverySource
INSTANCE
-
Method Summary
Modifier and Type Method Description boolean
expectEmptyRetentionLeases()
RecoverySource.Type
getType()
java.lang.String
toString()
Methods inherited from class org.elasticsearch.cluster.routing.RecoverySource
addAdditionalFields, equals, hashCode, readFrom, shouldBootstrapNewHistoryUUID, toXContent, writeAdditionalFields, writeTo
-
Field Details
-
Method Details
-
getType
- Specified by:
getType
in classRecoverySource
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
expectEmptyRetentionLeases
public boolean expectEmptyRetentionLeases()- Overrides:
expectEmptyRetentionLeases
in classRecoverySource
-