Package org.elasticsearch.action.support.replication
package org.elasticsearch.action.support.replication
-
InterfaceDescriptionReplicationOperation.Primary<RequestT extends ReplicationRequest<RequestT>,ReplicaRequestT extends ReplicationRequest<ReplicaRequestT>,PrimaryResultT extends ReplicationOperation.PrimaryResult<ReplicaRequestT>>An encapsulation of an operation that is to be performed on the primary shardReplicationOperation.PrimaryResult<RequestT extends ReplicationRequest<RequestT>>An interface to encapsulate the metadata needed from replica shards when they respond to operations performed on them.ReplicationOperation.Replicas<RequestT extends ReplicationRequest<RequestT>>An encapsulation of an operation that will be executed on the replica shards, if present.
-
ClassDescriptionA 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
, andDeleteRequest
.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 likeIndexRequest
orTransportShardRefreshAction
.ReplicationRequestBuilder<Request extends ReplicationRequest<Request>,Response extends ActionResponse,RequestBuilder extends ReplicationRequestBuilder<Request,Response,RequestBuilder>>Base class for write action responses.Task that tracks replication actions.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.a wrapper class to encapsulate a request when being sent to a specific allocation idTransportReplicationAction.PrimaryResult<ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>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.