Class QueueOverrideSettings
- java.lang.Object
- 
- simpleorm.dataset.SRecordInstance
- 
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
- 
- com.inductiveautomation.ignition.gateway.gan.QueueOverrideSettings
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class QueueOverrideSettings extends PersistentRecord Allows a gateway network's hard-coded default queue settings to be overridden by the user.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringFieldDESCRstatic StringFieldIDstatic BooleanFieldIS_SYNCHRONOUSstatic IntFieldMAX_OUTSTANDINGstatic RecordMeta<QueueOverrideSettings>METAstatic StringFieldNAMEstatic EnumField<com.inductiveautomation.metro.api.QueuePriority>PRIORITY- 
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description QueueOverrideSettings()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetId()java.lang.IntegergetMaxOutstanding()RecordMeta<?>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.java.lang.StringgetName()com.inductiveautomation.metro.api.QueuePrioritygetPriority()booleanisSynchronous()Indicates whether the queue has been hard-coded in synchronous mode, meaning that another message cannot be dispatched until there are no outstanding messages.voidsetDescr(java.lang.String descr)voidsetId(java.lang.String queueId)voidsetMaxOutstanding(java.lang.Integer maxOutstanding)voidsetName(java.lang.String name)Note: 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)java.util.PropertiestoProperties()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, installDefaultValues
 - 
Methods 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 Detail- 
METApublic static final RecordMeta<QueueOverrideSettings> META 
 - 
IDpublic static final StringField ID 
 - 
NAMEpublic static final StringField NAME 
 - 
DESCRpublic static final StringField DESCR 
 - 
IS_SYNCHRONOUSpublic static final BooleanField IS_SYNCHRONOUS 
 - 
MAX_OUTSTANDINGpublic static final IntField MAX_OUTSTANDING 
 - 
PRIORITYpublic static final EnumField<com.inductiveautomation.metro.api.QueuePriority> PRIORITY 
 
- 
 - 
Method Detail- 
getMetapublic RecordMeta<?> getMeta() Description 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
 
 - 
getIdpublic java.lang.String getId() 
 - 
setIdpublic void setId(java.lang.String queueId) 
 - 
getMaxOutstandingpublic java.lang.Integer getMaxOutstanding() - Returns:
- the maximum number of messages that can be in an outstanding state, that is, are being actively sent over the connection
 
 - 
setMaxOutstandingpublic void setMaxOutstanding(java.lang.Integer maxOutstanding) 
 - 
getPrioritypublic com.inductiveautomation.metro.api.QueuePriority getPriority() 
 - 
setPrioritypublic void setPriority(com.inductiveautomation.metro.api.QueuePriority priority) 
 - 
getNamepublic java.lang.String getName() 
 - 
setNamepublic void setName(java.lang.String name) Note: this field should be used to set an easily readable queue name, not the id!
 - 
getDescriptionpublic java.lang.String getDescription() 
 - 
setDescrpublic void setDescr(java.lang.String descr) 
 - 
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) 
 - 
toPropertiespublic java.util.Properties toProperties() Returns a Properties object with the actual override properties that we care about.
 
- 
 
-