com.netflix.eureka.resources
Class PeerReplicationResource

java.lang.Object
  extended by com.netflix.eureka.resources.PeerReplicationResource

public class PeerReplicationResource
extends java.lang.Object

A jersey resource that handles requests for replication purposes


Constructor Summary
PeerReplicationResource()
           
 
Method Summary
 javax.ws.rs.core.Response batchReplication(PeerEurekaNode.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

public javax.ws.rs.core.Response batchReplication(PeerEurekaNode.ReplicationList replicationList)
Process batched replication events from peer eureka nodes.

The batched events are delegated to underlying resources to generate a PeerEurekaNode.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