Class RecoverySource

java.lang.Object
org.elasticsearch.cluster.routing.RecoverySource
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject
Direct Known Subclasses:
RecoverySource.EmptyStoreRecoverySource, RecoverySource.ExistingStoreRecoverySource, RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.SnapshotRecoverySource

public abstract class RecoverySource
extends java.lang.Object
implements Writeable, ToXContentObject
Represents the recovery source of a shard. Available recovery types are: - RecoverySource.EmptyStoreRecoverySource recovery from an empty store - RecoverySource.ExistingStoreRecoverySource recovery from an existing store - RecoverySource.PeerRecoverySource recovery from a primary on another node - RecoverySource.SnapshotRecoverySource recovery from a snapshot - RecoverySource.LocalShardsRecoverySource recovery from other shards of another index on the same node