Uses of Class
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
-
Packages that use SchedulerAPIPersistenceException Package Description com.redwood.scheduler.api.exception Scheduler API - Exceptionscom.redwood.scheduler.api.job Scheduler API - Interfaces for user defined jobs.com.redwood.scheduler.api.model Scheduler API - Modelcom.redwood.scheduler.api.model.interfaces Scheduler API - High level model interfaces.com.redwood.scheduler.api.scripting.variables Scheduler API - Interfaces for scripting variables.com.redwood.scheduler.api.uow Scheduler API - Unit of Work interfaces. -
-
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.exception
Subclasses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.exception Modifier and Type Class Description classSchedulerAPIForeignKeyExceptionUnable to persist.classSchedulerAPIInvalidStringLiteralExceptionInvalid string literal.classSchedulerAPINoRowsUpdatedExceptionThe persist call did not update any rows in the database.classSchedulerAPIRetriablePersistenceExceptionIndicates an exception that can be potentially fixed by trying again. -
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.job
Methods in com.redwood.scheduler.api.job that throw SchedulerAPIPersistenceException Modifier and Type Method Description voidUserJobContext. becomeResilient()When called, the current running Process (jcsJob) is fetched using a newly created session and set to CompletionStrategy Resilient.voidUserJobContext. becomeResilient(SchedulerSession session)Deprecated.This method runs the the risk of the persist failing with a NoRowsUpdatedException in unexpected and non-reproducible ways when the job is also modified in another session.voidUserJobContext. operatorMessage(SchedulerSession session, String message)Insert an operator message in the operator messages table Note that persist() will be calledStringUserJobContext. operatorMessage(SchedulerSession session, String message, String replyExpression)Insert an operator message in the operator messages table and wait until a reply is given.voidUserJobContext. operatorMessage(String message)Insert an operator message in the operator messages tableStringUserJobContext. operatorMessage(String message, String replyExpression)Insert an operator message in the operator messages table and wait until a reply is given.<T extends Exception>
voidUserJobContext. performUnitOfWork(SchedulerSessionUnitOfWork<T> uow)Perform a unit of work, by calling it with a new session.StringUserJobContext. waitForReply(OperatorMessage om)Wait for a reply to an operator message raised by this job. -
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.model
Methods in com.redwood.scheduler.api.model that throw SchedulerAPIPersistenceException Modifier and Type Method Description voidSchedulerSession. executeQuery(String query, Object[] parameters, APIResultSetCallback callback)Execute the given query and return the object that represents it.List<Long>JobDefinition. getFutureJobUniqueIds()Return the unique id list of the future job.LongProcessMonitor. getItemCount()Get total number of Process Monitor Items.LongProcessMonitor. getMaxDisplayOrder()Get all the maximum display order of the process monitor items.List<Long>SchedulerSession. getUniqueIdList(String alias, String query, Object[] parameters)Return a list of uniqueIds returned by the query.voidSchedulerSession. persist()Persist all dirty objects to the database.voidSchedulerEntity. refreshObject()If this object is in a read-only state, then refresh the data from the database. -
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.model.interfaces
Methods in com.redwood.scheduler.api.model.interfaces that throw SchedulerAPIPersistenceException Modifier and Type Method Description OutputStreamFileParameterRuntime. getOutputStream()Get an OutputStream to write the Out content of an Out or InOut parameter.OutputStreamFileParameterRuntime. getOutputStreamToStandardOutput()Get an OutputStream to write the Out content of an Out or InOut parameter to stdout.<ext>, and set the reference to it.RTXWriterTableParameterRuntime. getRTXWriter()Get an RTXWriter to write the Out content of an Out or InOut parameter.RTXWriterTableParameterRuntime. getRTXWriterToStandardOutput()Get an RTXWriter to write the Out content of an Out or InOut parameter to stdout.rtx, and set the reference to it. -
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.scripting.variables
Methods in com.redwood.scheduler.api.scripting.variables that throw SchedulerAPIPersistenceException Modifier and Type Method Description <T extends Exception>
voidExtensionPointScriptObject. performUnitOfWorkActionSubjectSession(SchedulerSessionUnitOfWork<T> uow)Perform a unit of work, by calling it with a new Action Subject session.<T extends Exception>
voidExtensionPointScriptObject. performUnitOfWorkUserSession(SchedulerSessionUnitOfWork<T> uow)Perform a unit of work, by calling it with a new User session. -
Uses of SchedulerAPIPersistenceException in com.redwood.scheduler.api.uow
Methods in com.redwood.scheduler.api.uow that throw SchedulerAPIPersistenceException Modifier and Type Method Description <T extends Exception>
voidSchedulerSessionUnitOfWorkManager. perform(SchedulerSessionUnitOfWork<T> uow)Execute a unit of work.<T extends Exception>
voidSchedulerSessionUnitOfWorkManager. perform(SchedulerSessionUnitOfWork<T> uow, int maxRetries, int maxSpins)Execute a unit of work.
-