org.quartz.impl.jdbcjobstore
Interface TriggerPersistenceDelegate

All Known Implementing Classes:
CalendarIntervalTriggerPersistenceDelegate, CronTriggerPersistenceDelegate, SimplePropertiesTriggerPersistenceDelegateSupport, SimpleTriggerPersistenceDelegate

public interface TriggerPersistenceDelegate

An interface which provides an implementation for storing a particular type of Trigger's extended properties.

Author:
jhouse

Nested Class Summary
static class TriggerPersistenceDelegate.TriggerPropertyBundle
           
 
Method Summary
 boolean canHandleTriggerType(OperableTrigger trigger)
           
 int deleteExtendedTriggerProperties(java.sql.Connection conn, TriggerKey triggerKey)
           
 java.lang.String getHandledTriggerTypeDiscriminator()
           
 void initialize(java.lang.String tablePrefix, java.lang.String schedulerName)
           
 int insertExtendedTriggerProperties(java.sql.Connection conn, OperableTrigger trigger, java.lang.String state, JobDetail jobDetail)
           
 TriggerPersistenceDelegate.TriggerPropertyBundle loadExtendedTriggerProperties(java.sql.Connection conn, TriggerKey triggerKey)
           
 int updateExtendedTriggerProperties(java.sql.Connection conn, OperableTrigger trigger, java.lang.String state, JobDetail jobDetail)
           
 

Method Detail

initialize

void initialize(java.lang.String tablePrefix,
                java.lang.String schedulerName)

canHandleTriggerType

boolean canHandleTriggerType(OperableTrigger trigger)

getHandledTriggerTypeDiscriminator

java.lang.String getHandledTriggerTypeDiscriminator()

insertExtendedTriggerProperties

int insertExtendedTriggerProperties(java.sql.Connection conn,
                                    OperableTrigger trigger,
                                    java.lang.String state,
                                    JobDetail jobDetail)
                                    throws java.sql.SQLException,
                                           java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

updateExtendedTriggerProperties

int updateExtendedTriggerProperties(java.sql.Connection conn,
                                    OperableTrigger trigger,
                                    java.lang.String state,
                                    JobDetail jobDetail)
                                    throws java.sql.SQLException,
                                           java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

deleteExtendedTriggerProperties

int deleteExtendedTriggerProperties(java.sql.Connection conn,
                                    TriggerKey triggerKey)
                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

loadExtendedTriggerProperties

TriggerPersistenceDelegate.TriggerPropertyBundle loadExtendedTriggerProperties(java.sql.Connection conn,
                                                                               TriggerKey triggerKey)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright 2001-2019, Terracotta, Inc.