Class SnapshotShardContext

All Implemented Interfaces:
ActionListener<ShardSnapshotResult>
Direct Known Subclasses:
LocalPrimarySnapshotShardContext

public abstract class SnapshotShardContext extends DelegatingActionListener<ShardSnapshotResult,ShardSnapshotResult>
Context holding the state for creating a shard snapshot via Repository.snapshotShard(SnapshotShardContext). Wraps a Engine.IndexCommitRef that is released once this instances is completed by invoking either its onResponse(ShardSnapshotResult) or DelegatingActionListener.onFailure(Exception) callback.