Uses of Class
oracle.as.scheduler.RuntimeServiceException
Packages that use RuntimeServiceException
Package
Description
Enterprise Scheduler API interfaces and classes, including
RuntimeService and MetadataService.
Classes for use by asynchronous jobs.
Request Log and Output Content API.
Support for substitution on environment, configuration, execution context, and parameters.
-
Uses of RuntimeServiceException in oracle.as.scheduler
Subclasses of RuntimeServiceException in oracle.as.schedulerModifier and TypeClassDescriptionclassclassThrown when the a transactional operation is invoked and the transaction has been marked as rollback only.classException that indicates an operation on a request is illegal.classException used by theRuntimeServiceto indicate permission or security related errors.classException used to indicate an error accessing or performing an operation on the Enterprise Scheduler runtime store.classclassException used to indicate that an Enterprise Scheduler runtime store lock could not be obtained.classException used to indicate that the transaction has been automatically rolled back by the storage service provider.Methods in oracle.as.scheduler that throw RuntimeServiceExceptionModifier and TypeMethodDescriptionvoidRuntimeService.cancelRequest(RuntimeServiceHandle handle, long requestId) Cancels the processing of a request that is not in a terminal state.voidRuntimeService.cancelRequestGraceful(RuntimeServiceHandle handle, long requestId) Cancels the processing of a request that is not in a terminal state.voidRuntimeService.cancelRequests(Filter filter, RuntimeService.QueryField orderBy, boolean ascending) Cancels the processing of multiple request that are not in a terminal state.voidRuntimeService.changeRequestPriority(Long requestId, Integer priority) Changes the priority for a submitted request that has not yet started to run.RuntimeService.checkDetailedPermissions(RuntimeServiceHandle handle, long[] requestIds, RuntimeDataPermission.Action... privileges) Check whether the current user has privilegs on the input requests identified by a list of request ids.booleanAsyncRequestBeanInterface.checkInCancelling(RequestExecutionContext context) Checks if a cancel operation has been initiated for the given request.RuntimeService.checkRequestPrivilege(RuntimeServiceHandle handle, long[] requestIds, RuntimeDataPermission.Action... privileges) Check whether the current user has privilegs on the input requests identified by a list of request ids.voidRuntimeService.close(RuntimeServiceHandle handle) Closes the runtime handle.voidRuntimeService.close(RuntimeServiceHandle handle, boolean abort) Closes the runtime handle.voidRuntimeService.closeContent(RuntimeServiceHandle handle, ContentHandle contentHandle) Closes the previously opened log or output content and releases the handle.booleanRuntimeService.copyBinaryContentToFile(RuntimeServiceHandle rsh, ContentHandle handle, File file, boolean lockRow) Copy binary content of the given request to file.booleanRuntimeService.copyTextContentToFile(RuntimeServiceHandle handle, ContentHandle contentHandle, File file, boolean lockRow) Copy log or output text content of the given request to file.voidRuntimeService.deleteOutputContent(RequestExecutionContext context, List<String> contentNames) Deletes the list of request output content from the content store, if it exists.voidRuntimeService.deleteRequest(RuntimeServiceHandle handle, long requestId) Marks a submitted request as deleted.voidRuntimeService.forceCancelAsyncRequest(long requestId) Complete an asynchronous request with a CANCEL status.RuntimeService.getApplicationConfig(RuntimeServiceHandle handle) Gets the configuration for this application as specified in ess-config.xml and customizations thereof, including default values.byte[]RuntimeService.getBinaryContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxBytes) Gets at mostmaxBytesbytes from the binary content.byte[]RuntimeService.getBinaryContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxBytes, boolean lockRow) Gets at mostmaxBytesbytes from the binary content.RuntimeService.getBinaryContentLob(RuntimeServiceHandle handle, ContentHandle contentHandle) Gets the binary content.RuntimeService.getBlockedRequests(RuntimeServiceHandle handle, long requestId) Returns the request identifiers for all requests that are currently blocked by the specified request.AsyncRequestBeanInterface.getContextFromString(String string) Converts the string representation of a RequestExecutionContext into RequestExecutionContext object.RuntimeService.getDBSchedulerJobDetail(RuntimeServiceHandle handle, long requestId) Returns the object containing DBScheduler External Job Status detailsRuntimeService.getExternalJobStatus(RuntimeServiceHandle handle, long requestId) Determines the general status of the external job for a request.RuntimeService.getFailedExecutionResult(RuntimeServiceHandle handle, long requestId) Retrieves the result of the last failed execution attempt for the specified request which has been retried at least once.RuntimeService.getJobIncompatibilities(RuntimeServiceHandle handle, MetadataObjectId metaId, long requestId) Gets incompatibilities for a job/jobset definition from the the runtime metadata store.RuntimeService.getJobStepRequestParameters(RuntimeServiceHandle handle, long jobsetId) Get the Map of scoped parameters for a jobset requestId.RuntimeService.getLogContentDetail(RuntimeServiceHandle handle, long requestId) Gets the log content detail for the request.RuntimeService.getLogicalApplicationNames(RuntimeServiceHandle handle) Get a list of all logical application names for ESS hosted applications currently deployed.String[]RuntimeService.getLogLines(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxLines) Gets at mostmaxLineslines from the request log, continuing from the last call to this method.RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle, long requestId) Gets details for all output content for the request.RuntimeService.getOutputContentDetail(RuntimeServiceHandle handle, long requestId, String contentName) Gets details for the specified output content for the request.oracle.as.scheduler.runtime.ServerQuiesceStateRuntimeService.getQuiesceState(MetadataObjectId jobDefinition) Get quiesce state of ESS Cluster associated with a specified job definition.RuntimeService.getReadyRequestsCount()Return the count of requests in Ready state in current isolation group at this momentRuntimeService.getRequestDetail(RuntimeServiceHandle handle, long requestId) Retrieves runtime details of the specified request.RuntimeService.getRequestDetail(RuntimeServiceHandle handle, long requestId, boolean includeTranslation) Retrieves runtime details of the specified request.RuntimeService.getRequestDetailBasic(RuntimeServiceHandle handle, long requestId) Retrieves basic runtime details of the specified request.RuntimeService.getRequestDetails(RuntimeServiceHandle handle, long[] requestIds) Retrieves basic runtime details of the specified requests.RuntimeService.getRequestDetails(RuntimeServiceHandle handle, long[] requestIds, boolean includeTranslation) Retrieves basic runtime details of the specified requests.RuntimeService.getRequestDetailstoExport(RuntimeServiceHandle handle, Filter filter, RuntimeService.QueryField orderBy, boolean ascending, int maxCount, boolean counterInfo) Retrieves runtime details for all requests whose attribute and system properties match those specified by the query parameters.oracle.as.scheduler.DiagnosisRuntimeService.getRequestDiagnosis(RuntimeServiceHandle handle, long requestId) Gets the diagnosis for a request which includes the request State and for requests in WAIT or READY state, additional diagnostic information.RuntimeService.getRequestParameter(RuntimeServiceHandle handle, long requestId, String name) Retrieves the value of a request parameter.RuntimeService.getRequestRank(Long requestId) Get the rank or position for a given request among the requests of same state.RuntimeService.getRequests(RuntimeServiceHandle handle, long requestId) Gets an enumeration of the request identifiers for those requests that have the specified request as their immediate parent and are associated with the current execution attempt of that parent request.RuntimeService.getRequestsCountGroupByState(String effectiveApplication, TimeUnit timeUnit, int timeUnitValue) Gets number of requests in each state from the elapsed time.RuntimeService.getRequestState(RuntimeServiceHandle handle, long requestId) Retrieves the current state of the specified request.char[]RuntimeService.getTextContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxChars) Gets at mostmaxCharslines from the log or output text content.char[]RuntimeService.getTextContent(RuntimeServiceHandle handle, ContentHandle contentHandle, int maxChars, boolean lockRow) Gets at mostmaxCharslines from the log or output text content.RuntimeService.getTextContentLob(RuntimeServiceHandle handle, ContentHandle contentHandle) Gets text content.voidRuntimeService.holdRequest(RuntimeServiceHandle handle, long requestId) Withholds further processing of a request that is inWAITorREADYstate.booleanRuntimeService.isForceCancelAllowed(long requestId) Check whether the prerequisites for forcing a request toState.CANCELLEDusingforceCancelAsyncRequestare met.booleanRuntimeService.isStandaloneEnv(RuntimeServiceHandle handle) Indicates whether the environment is standalone or fusion.voidRuntimeService.lockRequest(RuntimeServiceHandle handle, long requestId) Acquires a lock for the given request.voidRuntimeService.logContent(RequestExecutionContext context, Level level, String message) Logs a message to the request log in the content store during job execution.RuntimeService.open()Allocates system resources for performing subsequent runtime operations.Allocates system resources for performing subsequent runtime operations.RuntimeService.openLogContent(RuntimeServiceHandle handle, long requestId) Opens the request log to retrieve the log data.RuntimeService.openOutputContent(RuntimeServiceHandle handle, long requestId, String contentName) Opens the specified request output to retrieve the output data.RuntimeService.openOutputContent(RuntimeServiceHandle handle, RequestExecutionContext context, String contentName, ContentType contentType, EnumSet<ContentHandle.ContentOpenOptions> options) Opens the named request output during job execution.booleanRuntimeService.outputContentExists(RequestExecutionContext context, String contentName) Determines if the output content exists for the request.RuntimeService.queryRequests(RuntimeServiceHandle handle, Filter filter, RuntimeService.QueryField orderBy, boolean ascending) Retrieves an enumeration of the request identifers for all requests whose attribute and system properties match those specified by the query parametersvoidRuntimeService.releaseRequest(RuntimeServiceHandle handle, long requestId) Releases a request from theHOLDstate.voidRuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, MetadataObjectId scheduleId) Replace the current schedule for a request that has already been submitted.voidRuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, MetadataObjectId scheduleId, Schedule schedule, Calendar start, Calendar end) Replace the current schedule for a request that has already been submitted with a schedule.voidRuntimeService.replaceSchedule(RuntimeServiceHandle handle, long requestId, Schedule schedule) Replace the current schedule for a request that has already been submitted.voidRuntimeService.setExternalJobState(RuntimeServiceHandle handle, long requestID, ExternalJobState externalJobState) Saves External state value for a JAVA BIP job type in request property.voidRuntimeService.setRequestParameter(RuntimeServiceHandle handle, long requestId, String name, Object value) Sets the value of a request parameter for a specified request.voidAsyncRequestBeanInterface.setRequestStatus(RequestExecutionContext context, AsyncStatus status, String statusMessage) Set the status of an ESS asynchronous java job.voidAsyncRequestBeanRemote.setRequestStatus(String context, String status, String statusMessage) Set the status of an ESS asynchronous java job.longRuntimeService.submitRequest(RuntimeServiceHandle handle, String description, JobType.ExecutionType type, Schedule schedule, oracle.as.scheduler.Trigger trigger, Calendar start, Calendar end, RequestParameters parameters) Adhoc job request submission using specified Schedule.longRuntimeService.submitRequest(RuntimeServiceHandle handle, String description, MetadataObjectId definition, Calendar start, RequestParameters parameters) Creates a new job request using metadata definition of the job to run once on a specific time.longRuntimeService.submitRequest(RuntimeServiceHandle handle, String description, MetadataObjectId definition, MetadataObjectId schedule, MetadataObjectId trigger, Calendar start, Calendar end, RequestParameters parameters) Creates a new job request using metadata definitions of the job, and schedule.longRuntimeService.submitRequest(RuntimeServiceHandle handle, String description, MetadataObjectId definition, Schedule schedule, oracle.as.scheduler.Trigger trigger, Calendar start, Calendar end, RequestParameters parameters) Adhoc job request submission using job definition from metadata.longRuntimeService.submitRequest(RuntimeServiceHandle handle, RequestExecutionContext context, String description, MetadataObjectId definition, RequestParameters parameters) Submits a sub-request.voidRuntimeService.updateRequestParameter(RuntimeServiceHandle handle, long requestId, String name, Object value) Updates the value of a request parameter for a specified request.voidRuntimeService.updateRequestStartEnd(RuntimeServiceHandle handle, long requestId, Calendar start, Calendar end) Replace the start and end time for a request that has already been submitted.voidRuntimeService.writeContent(ContentHandle contentHandle, byte[] bytes) Appends the bytes to the output content during job execution.voidRuntimeService.writeContent(ContentHandle contentHandle, char[] chars) Appends the characters to the output content during job execution.voidRuntimeService.writeContent(ContentHandle contentHandle, String message) Appends the string to the output content during job execution.voidRuntimeService.writelnContent(ContentHandle contentHandle, String message) Appends the string followed by a line feed character to the output content during job execution. -
Uses of RuntimeServiceException in oracle.as.scheduler.async
Methods in oracle.as.scheduler.async that throw RuntimeServiceExceptionModifier and TypeMethodDescriptionbooleanAsyncHelper.checkInCancelling()final voidAsyncHelper.onBizError(String errorMsg) final voidRemoteAsyncHelper.onBizError(String errorMsg) final voidAsyncHelper.onCancel()final voidRemoteAsyncHelper.onCancel()final voidfinal voidfinal voidfinal voidfinal voidAsyncHelper.onSuccess()final voidRemoteAsyncHelper.onSuccess()final voidfinal voidvoidAsyncHelper.setRequestStatus(AsyncStatus status, String statusMessage) voidRemoteAsyncHelper.setRequestStatus(AsyncStatus status, String statusMessage) -
Uses of RuntimeServiceException in oracle.as.scheduler.request
Methods in oracle.as.scheduler.request that throw RuntimeServiceExceptionModifier and TypeMethodDescriptionvoidRemoteContentHelper.closeOutputContent(ContentHandle contentHandle) Closes the content associated with the given content handle.booleanRemoteContentHelper.copyBinaryContentToFile(ContentHandle contentHandle, File file, boolean lockRow) Copy binary content of the given request to file.booleanRemoteContentHelper.copyTextContentToFile(ContentHandle contentHandle, File file, boolean lockRow) Copy log or output text content of the given request to file.voidLogContentHelper.deleteLogContent(List<String> contentNames) Deletes the log content from the content store for the request.voidOutputContentHelper.deleteOutputContent(List<String> contentNames) Deletes the output content from the content store for the request.voidRemoteContentHelper.deleteOutputContent(String contentName) Deletes the request output content from the content store, if it exists.voidRemoteContentHelper.deleteOutputContent(List<String> contentNames) Deletes the list of request output content from the content store, if it exists.byte[]RemoteContentHelper.getBinaryContent(ContentHandle contentHandle, int maxBytes) Gets at mostmaxBytesbytes from the binary content.byte[]RemoteContentHelper.getBinaryContent(ContentHandle contentHandle, int maxBytes, boolean lockRow) Gets at mostmaxBytesbytes from the binary content.RemoteContentHelper.getBinaryContentLob(ContentHandle contentHandle) Gets the binary content.static LogContentHelperContentFactory.getLogContentHelper(long requestId, RuntimeServiceHandle rsh) Gets the helper for creating log content for requests Each operation will use the user-provided handle, and it is the caller's responsibility to commit or rollback the transaction.RemoteContentHelper.getOutputContentDetail()Gets details for all output content for the request.RemoteContentHelper.getOutputContentDetail(String contentName) Gets details for the specified output content for the request.static OutputContentHelperContentFactory.getOutputContentHelper(long requestId) Gets the helper for creating output content for requests with Standard or Extended request mode.static OutputContentHelperContentFactory.getOutputContentHelper(long requestId, RuntimeServiceHandle rsh) Gets the helper for creating output content for requests with Standard or Extended request mode.static RequestLoggerContentFactory.getRequestLogger(long requestId) Gets the request logger for the specified request, which logs to the ESS content store.static RequestOutputContentFactory.getRequestOutput(RuntimeServiceHandle rsh, long requestId, ContentType contentType, String contentName) Retrieves the request output and creates the output content in the ESS content store for the request.char[]RemoteContentHelper.getTextContent(ContentHandle contentHandle, int maxChars) Gets at mostmaxCharscharacters from the text output content.char[]RemoteContentHelper.getTextContent(ContentHandle contentHandle, int maxChars, boolean lockRow) Gets at mostmaxCharscharacters from the text output content.RemoteContentHelper.getTextContentLob(ContentHandle contentHandle) Gets the text output content.voidLogs the message at the given level.RemoteContentHelper.openOutputContent(RuntimeServiceHandle runtimeHandle, String contentName, ContentType contentType, EnumSet<ContentHandle.ContentOpenOptions> options) Opens output content for read or write.booleanOutputContentHelper.outputContentExists(String contentName) Checks whether the specified output content exists in the content store for the request.booleanRemoteContentHelper.outputContentExists(String contentName) Determines if the output content exists for the request.OutputContentHelper.queryOutputContent()Gets the detailed information for all existing output content in the content store.OutputContentHelper.queryOutputContent(String contentName) Gets the detailed information for the output content in the content store, if it exists.voidRemoteContentHelper.write(ContentHandle contentHandle, byte[] data) Appends the bytes to the output content during job execution.voidRemoteContentHelper.write(ContentHandle contentHandle, char[] data) Appends the characters to the output content during job execution.voidRemoteContentHelper.write(ContentHandle contentHandle, String data) Appends the string to the output content during job execution.voidRequestOutput.write(byte[] bytes) Appends the bytes to the binary output content.voidRequestOutput.write(byte[] bytes, int offset, int length) Appends the bytes to the binary output content.voidRequestOutput.write(char[] chars) Appends the characters to the text output content.voidRequestOutput.write(char[] chars, int offset, int length) Appends the charactes to the text output content.voidAppends the String to the text output content.voidAppends the String to the text output content.voidRemoteContentHelper.writeln(ContentHandle contentHandle, String data) Appends the string followed by a line feed character to the output content during job execution.voidAppends the String to the text output content, followed by a line feed character. -
Uses of RuntimeServiceException in oracle.as.scheduler.substitution
Methods in oracle.as.scheduler.substitution that throw RuntimeServiceExceptionModifier and TypeMethodDescriptionCcwSubstitutionManager.getSubstitutedValue(long requestId, String paramName, String unsubVal) static SubstitutorSubstitutorFactory.getSubstitutor(RequestExecutionContext ctxt, RequestParameters params) Create the standardSubstitutor.static SubstitutorSubstitutorFactory.getSubstitutorWithAltEnv(RequestExecutionContext ctxt, RequestParameters params, Map<String, String> altAppEnv) Create the standardSubstitutor.