Class FederatedData

    • Method Detail

      • setVarID

        public void setVarID​(long varID)
      • getVarID

        public long getVarID()
      • getFilepath

        public String getFilepath()
      • isInitialized

        public boolean isInitialized()
      • copyWithNewID

        public FederatedData copyWithNewID​(long varID)
        Make a copy of the FederatedData metadata, but use another varID (refer to another object on worker)
        Parameters:
        varID - the varID of the variable we refer to
        Returns:
        new FederatedData with different varID set
      • executeFederatedOperation

        public static Future<FederatedResponse> executeFederatedOperation​(InetSocketAddress address,
                                                                          FederatedRequest... request)
        Executes an federated operation on a federated worker.
        Parameters:
        address - socket address (incl host and port)
        request - the requested operation
        Returns:
        the response
      • executeFederatedOperation

        public static Future<FederatedResponse> executeFederatedOperation​(InetSocketAddress address,
                                                                          int retry,
                                                                          FederatedRequest... request)
        Executes an federated operation on a federated worker.
        Parameters:
        address - socket address (incl host and port)
        retry - the retry count
        request - the requested operation
        Returns:
        the response
      • clearFederatedWorkers

        public static void clearFederatedWorkers()
      • resetFederatedSites

        public static void resetFederatedSites()
      • clearWorkGroup

        public static void clearWorkGroup()
      • createWorkGroup

        public static void createWorkGroup()