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.PeerRecoverySourceINSTANCE-
Fields 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, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
INSTANCE
public static final RecoverySource.PeerRecoverySource INSTANCE
-
-
Method Detail
-
getType
public RecoverySource.Type getType()
- Specified by:
getTypein classRecoverySource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
expectEmptyRetentionLeases
public boolean expectEmptyRetentionLeases()
- Overrides:
expectEmptyRetentionLeasesin classRecoverySource
-
-