|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.application.enm.service.concurrent.JobMonitorBlocking
JobMonitor.
@Deprecated public class JobMonitorBlocking
| Constructor Summary | |
|---|---|
JobMonitorBlocking()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
cancelJob(UUID uuid)
Deprecated. |
static JobMonitorBlocking |
get()
Deprecated. Get the singleton instance of the monitor. |
GenericJob |
getJob(UUID uuid)
Deprecated. Returns the job to which the specified uuid is mapped, or
null if this map contains no mapping for the
uuid. |
void |
init(ConcurrentMap<UUID,GenericJob> jobsMap)
Deprecated. |
GenericJob |
nextPendingJob()
Deprecated. Retrieves the next job from the queue, waiting if necessary until a job becomes available. |
void |
registerNewJob(GenericJob job)
Deprecated. Register a new job. |
void |
schedulePendingJob(GenericJob job)
Deprecated. Inserts the specified job into the priority queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobMonitorBlocking()
| Method Detail |
|---|
public static JobMonitorBlocking get()
public void init(ConcurrentMap<UUID,GenericJob> jobsMap)
throws IllegalArgumentException
IllegalArgumentExceptionpublic GenericJob nextPendingJob()
public void schedulePendingJob(GenericJob job)
job - The job to add.public void registerNewJob(GenericJob job)
uuid - Unequally identifies the job.job - The job to add.public GenericJob getJob(UUID uuid)
uuid is mapped, or
null if this map contains no mapping for the
uuid.
uuid - Unequally identifies the job.
uuid is mapped, or
null if this map contains no mapping for the
uuid.public void cancelJob(UUID uuid)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||