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 class
SchedulerAPIForeignKeyException
Unable to persist.class
SchedulerAPIInvalidStringLiteralException
Invalid string literal.class
SchedulerAPINoRowsUpdatedException
The persist call did not update any rows in the database.class
SchedulerAPIRetriablePersistenceException
Indicates 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 void
UserJobContext. becomeResilient()
When called, the current running Process (jcsJob) is fetched using a newly created session and set to CompletionStrategy Resilient.void
UserJobContext. 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.void
UserJobContext. operatorMessage(SchedulerSession session, String message)
Insert an operator message in the operator messages table Note that persist() will be calledString
UserJobContext. operatorMessage(SchedulerSession session, String message, String replyExpression)
Insert an operator message in the operator messages table and wait until a reply is given.void
UserJobContext. operatorMessage(String message)
Insert an operator message in the operator messages tableString
UserJobContext. 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.String
UserJobContext. 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 void
SchedulerSession. executeQuery(String query, Object[] parameters, APIResultSetCallback callback)
Execute the given query and return the object that represents it.Long
ProcessMonitor. getItemCount()
Get total number of Process Monitor Items.Long
ProcessMonitor. 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.void
SchedulerSession. persist()
Persist all dirty objects to the database.void
SchedulerEntity. 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 OutputStream
FileParameterRuntime. getOutputStream()
Get an OutputStream to write the Out content of an Out or InOut parameter.OutputStream
FileParameterRuntime. getOutputStreamToStandardOutput()
Get an OutputStream to write the Out content of an Out or InOut parameter to stdout.<ext>, and set the reference to it.RTXWriter
TableParameterRuntime. getRTXWriter()
Get an RTXWriter to write the Out content of an Out or InOut parameter.RTXWriter
TableParameterRuntime. 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.
-