com.ibm.wsspi.collective.plugins

Interface CollectiveExecutor



  • public interface CollectiveExecutor
    This interface contains actions that can be done in a collective environment, such as archive deployment.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void deleteFile(java.lang.String taskID, boolean async)
      Deletes a file location in the collective.
      void deployArchive(java.lang.String taskID, boolean async)
      Deploy an archive to the collective.
    • Method Detail

      • deployArchive

        void deployArchive(java.lang.String taskID,
                         boolean async)
                           throws java.io.IOException
        Deploy an archive to the collective.
        Parameters:
        taskID - a token to be used together with TaskStorage to fetch the task information
        async - a boolean specifying if this task should be executed in asynchronous mode
        Throws:
        java.io.IOException
      • deleteFile

        void deleteFile(java.lang.String taskID,
                      boolean async)
                        throws java.io.IOException
        Deletes a file location in the collective.
        Parameters:
        taskID - a token to be used together with TaskStorage to fetch the task information
        async - a boolean specifying if this task should be executed in asynchronous mode
        Throws:
        java.io.IOException