Interface | Description |
---|---|
ReplicationOperation.Primary<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,PrimaryResultT extends ReplicationOperation.PrimaryResult<ReplicaRequest>> | |
ReplicationOperation.PrimaryResult<R extends ReplicationRequest<R>> | |
ReplicationOperation.Replicas<ReplicaRequest extends ReplicationRequest<ReplicaRequest>> |
Class | Description |
---|---|
BasicReplicationRequest |
A replication request that has no more information than ReplicationRequest.
|
ReplicatedWriteRequest<R extends ReplicatedWriteRequest<R>> |
Requests that are both ReplicationRequests (run on a shard's primary first, then the replica) and WriteRequest
(modify documents on a shard), for example
BulkShardRequest , IndexRequest , and DeleteRequest . |
ReplicationOperation<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,PrimaryResultT extends ReplicationOperation.PrimaryResult<ReplicaRequest>> | |
ReplicationRequest<Request extends ReplicationRequest<Request>> |
Requests that are run on a particular replica, first on the primary and then on the replicas like
IndexRequest or
TransportShardRefreshAction . |
ReplicationRequestBuilder<Request extends ReplicationRequest<Request>,Response extends ActionResponse,RequestBuilder extends ReplicationRequestBuilder<Request,Response,RequestBuilder>> | |
ReplicationResponse |
Base class for write action responses.
|
ReplicationResponse.ShardInfo | |
ReplicationResponse.ShardInfo.Failure | |
ReplicationTask |
Task that tracks replication actions.
|
ReplicationTask.Status | |
TransportBroadcastReplicationAction<Request extends BroadcastRequest<Request>,Response extends BroadcastResponse,ShardRequest extends ReplicationRequest<ShardRequest>,ShardResponse extends ReplicationResponse> |
Base class for requests that should be executed on all shards of an index or several indices.
|
TransportReplicationAction<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse> |
Base class for requests that should be executed on a primary copy followed by replica copies.
|
TransportReplicationAction.ConcreteShardRequest<R extends ReplicationRequest<?>> |
a wrapper class to encapsulate a request when being sent to a specific allocation id
|
TransportReplicationAction.PrimaryResult<ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse> | |
TransportReplicationAction.ReplicaResult | |
TransportWriteAction<Request extends ReplicatedWriteRequest<Request>,ReplicaRequest extends ReplicatedWriteRequest<ReplicaRequest>,Response extends ReplicationResponse & WriteResponse> |
Base class for transport actions that modify data in some shard like index, delete, and shardBulk.
|
TransportWriteAction.WritePrimaryResult<ReplicaRequest extends ReplicatedWriteRequest<ReplicaRequest>,Response extends ReplicationResponse & WriteResponse> |
Result of taking the action on the primary.
|
TransportWriteAction.WriteReplicaResult<ReplicaRequest extends ReplicatedWriteRequest<ReplicaRequest>> |
Result of taking the action on the replica.
|
Exception | Description |
---|---|
ReplicationOperation.RetryOnPrimaryException | |
TransportReplicationAction.RetryOnReplicaException |