Interface AutoStartOrder<T>

Type Parameters:
T - Definition of cubes

public interface AutoStartOrder<T>
Interface that returns for given configuration object the order for starting and stopping cubes.
  • Method Details

    • getAutoStartOrder

      List<String[]> getAutoStartOrder(T config)
      Returns a list of Ids of Cubes to start. All the elements of the array are going to be started in parallel.
      Parameters:
      config - Configuration object.
      Returns:
      List of cubes to start. Each element of the list is an array of identifiers. All elements of the array are started in parallel.
    • getAutoStopOrder

      List<String[]> getAutoStopOrder(T config)
      Returns a list of Ids of Cubes to stop. All the elements of the array are going to be stopped in parallel.
      Parameters:
      config - Configuration object.
      Returns:
      List of cubes to stop. Each element of the list is an array of identifiers. All elements of the array are stopped in parallel.