Package org.openbravo.model.scheduling
Class QuartzSchedulerState
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.scheduling.QuartzSchedulerState
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,DynamicEnabled
,Identifiable
public class QuartzSchedulerState extends BaseOBObject
Entity class for entity OBSCHEDSchedulerState (stored in table obsched_scheduler_state).
Help: Quartz instances of the scheduling cluster
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_CHECKININTERVAL
Property checkinInterval stored in column Checkin_Interval in table obsched_scheduler_state
Help: Time in milliseconds when a scheduler will check if the rest of schedulers are still alive in a clustered environment. It will also mark itself as still alive.static String
PROPERTY_ID
Property id stored in column Obsched_Scheduler_State_ID in table obsched_scheduler_statestatic String
PROPERTY_INSTANCENAME
Property instanceName stored in column Instance_Name in table obsched_scheduler_statestatic String
PROPERTY_LASTCHECKINTIME
Property lastCheckinTime stored in column Last_Checkin_Time in table obsched_scheduler_state
Help: Timestamp of the last time the scheduler has checked in to the database.static String
PROPERTY_SCHEDNAME
Property schedName stored in column Sched_Name in table obsched_scheduler_state
Help: Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED". In a clustered environment it usually matches the machine.name of the cluster instance.static String
PROPERTY_STATUS
Property status stored in column Status in table obsched_scheduler_state
Help: Status of the scheduler instance: STANDBY: The scheduler is not executing jobs STARTED: The scheduler is active and executing jobsstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description QuartzSchedulerState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCheckinInterval()
String
getEntityName()
String
getId()
String
getInstanceName()
Long
getLastCheckinTime()
String
getSchedName()
String
getStatus()
void
setCheckinInterval(Long checkinInterval)
void
setId(String id)
void
setInstanceName(String instanceName)
void
setLastCheckinTime(Long lastCheckinTime)
void
setSchedName(String schedName)
void
setStatus(String status)
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column Obsched_Scheduler_State_ID in table obsched_scheduler_state- See Also:
- Constant Field Values
-
PROPERTY_SCHEDNAME
public static final String PROPERTY_SCHEDNAME
Property schedName stored in column Sched_Name in table obsched_scheduler_state
Help: Quartz scheduler name. In non-clustered environment it's "NON-CLUSTERED". In a clustered environment it usually matches the machine.name of the cluster instance.- See Also:
- Constant Field Values
-
PROPERTY_INSTANCENAME
public static final String PROPERTY_INSTANCENAME
Property instanceName stored in column Instance_Name in table obsched_scheduler_state- See Also:
- Constant Field Values
-
PROPERTY_LASTCHECKINTIME
public static final String PROPERTY_LASTCHECKINTIME
Property lastCheckinTime stored in column Last_Checkin_Time in table obsched_scheduler_state
Help: Timestamp of the last time the scheduler has checked in to the database.- See Also:
- Constant Field Values
-
PROPERTY_CHECKININTERVAL
public static final String PROPERTY_CHECKININTERVAL
Property checkinInterval stored in column Checkin_Interval in table obsched_scheduler_state
Help: Time in milliseconds when a scheduler will check if the rest of schedulers are still alive in a clustered environment. It will also mark itself as still alive.- See Also:
- Constant Field Values
-
PROPERTY_STATUS
public static final String PROPERTY_STATUS
Property status stored in column Status in table obsched_scheduler_state
Help: Status of the scheduler instance: STANDBY: The scheduler is not executing jobs STARTED: The scheduler is active and executing jobs- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getSchedName
public String getSchedName()
- See Also:
PROPERTY_SCHEDNAME
-
setSchedName
public void setSchedName(String schedName)
- See Also:
PROPERTY_SCHEDNAME
-
getInstanceName
public String getInstanceName()
- See Also:
PROPERTY_INSTANCENAME
-
setInstanceName
public void setInstanceName(String instanceName)
- See Also:
PROPERTY_INSTANCENAME
-
getLastCheckinTime
public Long getLastCheckinTime()
- See Also:
PROPERTY_LASTCHECKINTIME
-
setLastCheckinTime
public void setLastCheckinTime(Long lastCheckinTime)
- See Also:
PROPERTY_LASTCHECKINTIME
-
getCheckinInterval
public Long getCheckinInterval()
- See Also:
PROPERTY_CHECKININTERVAL
-
setCheckinInterval
public void setCheckinInterval(Long checkinInterval)
- See Also:
PROPERTY_CHECKININTERVAL
-
getStatus
public String getStatus()
- See Also:
PROPERTY_STATUS
-
setStatus
public void setStatus(String status)
- See Also:
PROPERTY_STATUS
-
-