Class RecoverySource.PeerRecoverySource
java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
org.elasticsearch.cluster.routing.RecoverySource.PeerRecoverySource
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.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.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
Fields Modifier and Type Field Description static RecoverySource.PeerRecoverySourceINSTANCEFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and Type Method Description booleanexpectEmptyRetentionLeases()RecoverySource.TypegetType()java.lang.StringtoString()Methods inherited from class org.elasticsearch.cluster.routing.RecoverySource
addAdditionalFields, equals, hashCode, readFrom, shouldBootstrapNewHistoryUUID, toXContent, writeAdditionalFields, 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
-
INSTANCE
-
-
Method Details
-
getType
- Specified by:
getTypein classRecoverySource
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
expectEmptyRetentionLeases
public boolean expectEmptyRetentionLeases()- Overrides:
expectEmptyRetentionLeasesin classRecoverySource
-