Interface IAwarenessManagementService


  • public interface IAwarenessManagementService
    Service for managing discovery infos.
    • Method Detail

      • addAwarenessInfo

        IFuture<java.lang.Boolean> addAwarenessInfo​(AwarenessInfo info)
        Announce an awareness info.
        Parameters:
        info - The info (passed as local reference).
        Returns:
        True, if was a new awareness info.
      • getCachedPlatformInfo

        IFuture<DiscoveryInfo> getCachedPlatformInfo​(IComponentIdentifier cid)
        Get the discovery info from local cache , if any.
        Parameters:
        cid - The platform id.
        Returns:
        The discovery info.
      • getKnownPlatforms

        IFuture<java.util.Collection<DiscoveryInfo>> getKnownPlatforms()
        Get the currently known platforms.
        Returns:
        The discovery infos of known platforms.
      • subscribeToPlatformList

        ISubscriptionIntermediateFuture<DiscoveryInfo> subscribeToPlatformList​(boolean include_initial)
        Retrieve information about platforms as they appear or vanish.
        Parameters:
        include_initial - If true, information about initially known platforms will be immediately posted to the caller. Otherwise only changes that happen after the subscription will be posted.
        Returns:
        An intermediate future that is notified about any changes.