Class QueueOverrideSettings
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.gan.QueueOverrideSettings
- All Implemented Interfaces:
- Serializable
Allows a gateway network's hard-coded default queue settings to be overridden by the user.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringFieldstatic final StringFieldstatic final BooleanFieldstatic final IntFieldstatic final RecordMeta<QueueOverrideSettings>static final StringFieldstatic final EnumField<com.inductiveautomation.metro.api.QueuePriority>Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetId()RecordMeta<?>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.getName()com.inductiveautomation.metro.api.QueuePrioritybooleanIndicates whether the queue has been hard-coded in synchronous mode, meaning that another message cannot be dispatched until there are no outstanding messages.voidvoidvoidsetMaxOutstanding(Integer maxOutstanding) voidNote: this field should be used to set an easily readable queue name, not the id!voidsetPriority(com.inductiveautomation.metro.api.QueuePriority priority) voidsetSynchronous(boolean isSynchronous) Returns a Properties object with the actual override properties that we care about.Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordgetBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesMethods inherited from class simpleorm.dataset.SRecordInstanceallFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
- 
Field Details- 
META
- 
ID
- 
NAME
- 
DESCR
- 
IS_SYNCHRONOUS
- 
MAX_OUTSTANDING
- 
PRIORITY
 
- 
- 
Constructor Details- 
QueueOverrideSettingspublic QueueOverrideSettings()
 
- 
- 
Method Details- 
getMetaDescription copied from class:SRecordInstanceThis must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };The actual metavariable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
- getMetain class- PersistentRecord
 
- 
getId
- 
setId
- 
getMaxOutstanding- Returns:
- the maximum number of messages that can be in an outstanding state, that is, are being actively sent over the connection
 
- 
setMaxOutstanding
- 
getPrioritypublic com.inductiveautomation.metro.api.QueuePriority getPriority()
- 
setPrioritypublic void setPriority(com.inductiveautomation.metro.api.QueuePriority priority) 
- 
getName
- 
setNameNote: this field should be used to set an easily readable queue name, not the id!
- 
getDescription
- 
setDescr
- 
isSynchronouspublic boolean isSynchronous()Indicates whether the queue has been hard-coded in synchronous mode, meaning that another message cannot be dispatched until there are no outstanding messages.
- 
setSynchronouspublic void setSynchronous(boolean isSynchronous) 
- 
toPropertiesReturns a Properties object with the actual override properties that we care about.
 
-