Class PeerRecoveryTargetService

java.lang.Object
org.elasticsearch.indices.recovery.PeerRecoveryTargetService
All Implemented Interfaces:
IndexEventListener

public class PeerRecoveryTargetService extends Object implements IndexEventListener
The recovery target handles recoveries of peer shards of the shard+node to recover to.

Note, it can be safely assumed that there will only be a single recovery per shard (index+id) and not several of them (since we don't allocate several shard replicas to the same node).