public class TriggerWrapper extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TriggerWrapper.TriggerState |
Modifier and Type | Field and Description |
---|---|
protected OperableTrigger |
trigger |
Modifier | Constructor and Description |
---|---|
protected |
TriggerWrapper(OperableTrigger trigger,
boolean jobDisallowsConcurrence) |
Modifier and Type | Method and Description |
---|---|
String |
getCalendarName() |
JobKey |
getJobKey() |
TriggerKey |
getKey() |
String |
getLastTerracotaClientId() |
int |
getMisfireInstruction() |
Date |
getNextFireTime() |
int |
getPriority() |
TriggerWrapper.TriggerState |
getState() |
OperableTrigger |
getTriggerClone() |
int |
hashCode() |
boolean |
isInstanceof(Class clazz) |
boolean |
jobDisallowsConcurrence() |
boolean |
mayFireAgain() |
void |
setFireInstanceId(String firedInstanceId,
TriggerFacade triggerFacade) |
void |
setState(TriggerWrapper.TriggerState state,
String terracottaId,
TriggerFacade triggerFacade) |
String |
toString() |
void |
triggered(Calendar cal,
TriggerFacade triggerFacade) |
void |
updateAfterMisfire(Calendar cal,
TriggerFacade triggerFacade) |
void |
updateWithNewCalendar(Calendar cal,
long misfireThreshold,
TriggerFacade triggerFacade) |
protected final OperableTrigger trigger
protected TriggerWrapper(OperableTrigger trigger, boolean jobDisallowsConcurrence)
public boolean jobDisallowsConcurrence()
public String getLastTerracotaClientId()
public TriggerKey getKey()
public JobKey getJobKey()
public void setState(TriggerWrapper.TriggerState state, String terracottaId, TriggerFacade triggerFacade)
public TriggerWrapper.TriggerState getState()
public Date getNextFireTime()
public int getPriority()
public boolean mayFireAgain()
public OperableTrigger getTriggerClone()
public void updateWithNewCalendar(Calendar cal, long misfireThreshold, TriggerFacade triggerFacade)
public String getCalendarName()
public int getMisfireInstruction()
public void updateAfterMisfire(Calendar cal, TriggerFacade triggerFacade)
public void setFireInstanceId(String firedInstanceId, TriggerFacade triggerFacade)
public void triggered(Calendar cal, TriggerFacade triggerFacade)
public boolean isInstanceof(Class clazz)
Copyright 2001-2019, Terracotta, Inc.