Interface ReplicaInfoService


  • public interface ReplicaInfoService
    Service to return where the replica should be placed.
    • Method Detail

      • getReplicaInfoFor

        ReplicaInfo getReplicaInfoFor​(DeviceId deviceId)
        Returns the placement information for given Device.
        Parameters:
        deviceId - identifier of the device
        Returns:
        placement information
      • addListener

        void addListener​(ReplicaInfoEventListener listener)
        Adds the specified replica placement info change listener.
        Parameters:
        listener - the replica placement info change listener
      • removeListener

        void removeListener​(ReplicaInfoEventListener listener)
        Removes the specified replica placement info change listener.
        Parameters:
        listener - the replica placement info change listener