TriggerPersistenceDelegate (Quartz Parent POM 2.0.1 API)

Quartz Java



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(org.quartz.spi.OperableTrigger trigger)
           
 int deleteExtendedTriggerProperties(Connection conn, TriggerKey triggerKey)
           
 String getHandledTriggerTypeDiscriminator()
           
 void initialize(String tablePrefix, String schedulerName)
           
 int insertExtendedTriggerProperties(Connection conn, org.quartz.spi.OperableTrigger trigger, String state, JobDetail jobDetail)
           
 TriggerPersistenceDelegate.TriggerPropertyBundle loadExtendedTriggerProperties(Connection conn, TriggerKey triggerKey)
           
 int updateExtendedTriggerProperties(Connection conn, org.quartz.spi.OperableTrigger trigger, String state, JobDetail jobDetail)
           
 

Method Detail

initialize

void initialize(String tablePrefix,
                String schedulerName)

canHandleTriggerType

boolean canHandleTriggerType(org.quartz.spi.OperableTrigger trigger)

getHandledTriggerTypeDiscriminator

String getHandledTriggerTypeDiscriminator()

insertExtendedTriggerProperties

int insertExtendedTriggerProperties(Connection conn,
                                    org.quartz.spi.OperableTrigger trigger,
                                    String state,
                                    JobDetail jobDetail)
                                    throws SQLException,
                                           IOException
Throws:
SQLException
IOException

updateExtendedTriggerProperties

int updateExtendedTriggerProperties(Connection conn,
                                    org.quartz.spi.OperableTrigger trigger,
                                    String state,
                                    JobDetail jobDetail)
                                    throws SQLException,
                                           IOException
Throws:
SQLException
IOException

deleteExtendedTriggerProperties

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

loadExtendedTriggerProperties

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


Copyright 2001-2011, Terracotta, Inc.