public class JobScheduledEvent extends BaseJobEvent
Constructor and Description |
---|
JobScheduledEvent(@NotEmpty java.lang.String id,
@NotNull java.util.concurrent.Future<?> task,
int memory,
@NotNull java.lang.Object source)
Constructor.
|
public JobScheduledEvent(@NotEmpty @NotEmpty java.lang.String id, @NotNull @NotNull java.util.concurrent.Future<?> task, int memory, @NotNull @NotNull java.lang.Object source)
id
- The id of the job that was scheduledtask
- The future representing the thread that will setup and run the jobmemory
- The amount of memory (in MB) the job is scheduled to usesource
- The source object which generated this event