TaskContextInterface.java 398 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
package mvd.jester.simulator.internals;

import java.util.Optional;
import mvd.jester.model.Task;

/**
 * TaskContextInterface
 */
public interface TaskContextInterface {

    public Task getTask();

13
    public Optional<TaskContextInterface> acceptNotification(long time);
14 15 16 17

    public Optional<JobContextInterface> getNextJob();

    public long getDeadline();
18 19

    public long getReleaseTime();
20
}