org.terracotta.quartz.wrappers
Class TriggerWrapper
java.lang.Object
org.terracotta.quartz.wrappers.TriggerWrapper
- All Implemented Interfaces:
- Serializable
public class TriggerWrapper
- extends Object
- implements Serializable
- See Also:
- Serialized Form
trigger
protected final OperableTrigger trigger
TriggerWrapper
protected TriggerWrapper(OperableTrigger trigger,
boolean jobDisallowsConcurrence)
jobDisallowsConcurrence
public boolean jobDisallowsConcurrence()
getLastTerracotaClientId
public String getLastTerracotaClientId()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getKey
public TriggerKey getKey()
getJobKey
public JobKey getJobKey()
setState
public void setState(TriggerWrapper.TriggerState state,
String terracottaId,
TriggerFacade triggerFacade)
getState
public TriggerWrapper.TriggerState getState()
getNextFireTime
public Date getNextFireTime()
getPriority
public int getPriority()
mayFireAgain
public boolean mayFireAgain()
getTriggerClone
public OperableTrigger getTriggerClone()
updateWithNewCalendar
public void updateWithNewCalendar(Calendar cal,
long misfireThreshold,
TriggerFacade triggerFacade)
getCalendarName
public String getCalendarName()
getMisfireInstruction
public int getMisfireInstruction()
updateAfterMisfire
public void updateAfterMisfire(Calendar cal,
TriggerFacade triggerFacade)
setFireInstanceId
public void setFireInstanceId(String firedInstanceId,
TriggerFacade triggerFacade)
triggered
public void triggered(Calendar cal,
TriggerFacade triggerFacade)
isInstanceof
public boolean isInstanceof(Class clazz)
Copyright 2001-2019, Terracotta, Inc.