Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


oracle.as.scheduler.job
Class BatchDelete

java.lang.Object
  extended by oracle.as.scheduler.job.BatchDelete

All Implemented Interfaces:
Cancellable, Executable

public final class BatchDelete
extends java.lang.Object
implements Executable, Cancellable

ESS batch delete job Executable.

Since:
11.1
Version:
$Header: ess/src/oracle/as/scheduler/job/BatchDelete.java /main/3 2010/08/28 19:31:45 chall Exp $
Author:
chall

Constructor Summary
BatchDelete()
          Constructor.

 

Method Summary
 void cancel()
          Cancellable entry.
protected  void closeRuntime(RuntimeServiceHandle rsh, boolean rollback)
          Closes runtime store handle.
 void execute(RequestExecutionContext context, RequestParameters parameters)
          Executable entry.
protected  RuntimeServiceHandle openRuntime()
          Opens runtime store.

 

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

 

Constructor Detail

BatchDelete

public BatchDelete()
Constructor.

Method Detail

cancel

public void cancel()
Cancellable entry.
Specified by:
cancel in interface Cancellable

execute

public void execute(RequestExecutionContext context,
                    RequestParameters parameters)
             throws ExecutionErrorException,
                    ExecutionCancelledException
Executable entry.
Specified by:
execute in interface Executable
Parameters:
context - the execution context for associated with this request
parameters - the request parameters associated with this request
Throws:
ExecutionErrorException - Should be thrown when the job implementation detects a failure condition that it needs to communicate to the scheduling subsystem. The request will transition to ERROR state.
ExecutionCancelledException - Should be thrown when the job implementation detects a condition for request cancellation that it needs to communicate to the scheduling subsystem. The request will transition to CANCELLED state.
See Also:
State

openRuntime

protected RuntimeServiceHandle openRuntime()
                                    throws java.lang.Exception
Opens runtime store.
Returns:
the runtime service handle to use
Throws:
java.lang.Exception

closeRuntime

protected void closeRuntime(RuntimeServiceHandle rsh,
                            boolean rollback)
                     throws java.lang.Exception
Closes runtime store handle.
Parameters:
rsh - the runtime service handle to close. This can be null.
rollback - true if the operations should be aborted/rolled back, or false otherwise
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.2)
E26229-03


Copyright © 2008, 2012 Oracle. All rights reserved.