Interface IDistributedAgent

All Superinterfaces:
IAgent, IExtendedPluginValue
All Known Subinterfaces:
IDistributedHierarchyManager, IInstanceDistributionManager
All Known Implementing Classes:
ADataNodeDistributedAgent, ADistributedAgent, AQueryNodeDistributedAgent, DataInstanceDistributionManager, DistributedHierarchyManager

public interface IDistributedAgent extends IAgent
An IAgent that needs to talk to remote instances using an IDistributedMessenger.
Author:
ActiveViam
  • Method Details

    • onMembersChanged

      void onMembersChanged(IClusterView view, Set<IAddress> newMembers, Set<IAddress> removedMembers, String clusterId)
      This method is invoked when remote members join or quit our distributed cluster.
      Parameters:
      view - This view responsible for the nofication
      newMembers - the addresses of the new comers
      removedMembers - the addresses of the leavers
      clusterId - the name of the cluster this agent belongs to