Class ActivityDemandsDefaultAdapter

    • Constructor Detail

      • ActivityDemandsDefaultAdapter

        public ActivityDemandsDefaultAdapter()
    • Method Detail

      • gatherDemands

        public ActivityResourceDemands gatherDemands​(long totalMemory,
                                                     int totalCores)
        Description copied from interface: IActivityDemandsDefinition
        Computes resource demands of the activity.
        Specified by:
        gatherDemands in interface IActivityDemandsDefinition
        Parameters:
        totalMemory - The memory available at the moment. During this phase it's a maximum memory amount available for the EDT.
        totalCores - CPU cores available for the computation. Cannot be less then 1.
        Returns:
        The activity demands information. Cannot be null