Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10659-01


oracle.soa.management.util.async
Class AsynchronousJobScheduler

java.lang.Object
  extended by oracle.soa.management.util.async.AsynchronousJobScheduler


public class AsynchronousJobScheduler
extends java.lang.Object

Scheduler and manager of asynchronous processing jobs


Constructor Summary
AsynchronousJobScheduler()
           

 

Method Summary
static AsynchronousResult getResult(java.lang.String jobId)
          Gets the result for the specified job.
static AsynchronousJobStatus getStatus(java.lang.String jobId)
          Gets the status of the specified job.
static void purgeResult(java.lang.String jobId)
          Releases the resources associated with the result specified by the uniqua job identifier
static java.lang.String schedule(AsynchronousJob job)
          Adds a job to the schedule for processing.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AsynchronousJobScheduler

public AsynchronousJobScheduler()

Method Detail

schedule

public static java.lang.String schedule(AsynchronousJob job)
Adds a job to the schedule for processing.
Parameters:
job - the job to schedule for processing

getStatus

public static AsynchronousJobStatus getStatus(java.lang.String jobId)
Gets the status of the specified job.
Parameters:
jobId - the unique identifier of the job for which the status is desired
Returns:
the status

getResult

public static AsynchronousResult getResult(java.lang.String jobId)
                                    throws java.lang.IllegalStateException
Gets the result for the specified job.

Clients should ensure that the processing has completed, using

Parameters:
jobId - the unique identifier of the job
Returns:
The results for the specified job
Throws:
java.lang.IllegalStateException - if the job processing has not completed

purgeResult

public static void purgeResult(java.lang.String jobId)
Releases the resources associated with the result specified by the uniqua job identifier

Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1)
E10659-01


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.