Package com.netflix.eureka.resources
Class PeerReplicationResource
- java.lang.Object
-
- com.netflix.eureka.resources.PeerReplicationResource
-
@Path("/{version}/peerreplication") @Produces({"application/xml","application/json"}) public class PeerReplicationResource extends java.lang.ObjectA jersey resource that handles requests for replication purposes.
-
-
Constructor Summary
Constructors Constructor Description PeerReplicationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsebatchReplication(ReplicationList replicationList)Process batched replication events from peer eureka nodes.
-
-
-
Method Detail
-
batchReplication
@Path("batch") @POST public jakarta.ws.rs.core.Response batchReplication(ReplicationList replicationList)Process batched replication events from peer eureka nodes.The batched events are delegated to underlying resources to generate a
ReplicationListResponsecontaining the individual responses to the batched events- Parameters:
replicationList- The List of replication events from peer eureka nodes- Returns:
- A batched response containing the information about the responses of individual events
-
-