Class PeerReplicationResource


  • @Path("/{version}/peerreplication")
    @Produces({"application/xml","application/json"})
    public class PeerReplicationResource
    extends java.lang.Object
    A jersey resource that handles requests for replication purposes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response batchReplication​(ReplicationList replicationList)
      Process batched replication events from peer eureka nodes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PeerReplicationResource

        public PeerReplicationResource()
    • 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 ReplicationListResponse containing 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