javax.constraints.scheduler.ResourcePool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsr331-scheduler Show documentation
Show all versions of jsr331-scheduler Show documentation
This is a JSR331 package for scheduling and resource allocation problems
The newest version!
package javax.constraints.scheduler;
/**
* This interface represents a pool of alternative resources. When an activity
* requires ResourcePool it means one and only one resource from this pool
* will be actually used by the activity.
* @author JF
*
*/
public interface ResourcePool {
public String getName();
public Resource get(int index);
public void add(int index,Resource resource);
}