Class InternalHistorianSettingsRecord
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.gateway.tags.history.edge.InternalHistorianSettingsRecord
-
- All Implemented Interfaces:
com.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
,java.io.Serializable
public class InternalHistorianSettingsRecord extends PersistentRecord implements com.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
Fields Modifier and Type Field Description static BooleanField
EnableSchedule
static StringField
ForwardSchedule
static Category
LIMITS
static IntField
MaxBatchSize
static RecordMeta<InternalHistorianSettingsRecord>
META
static BooleanField
PointLimitEnabled
static IntField
PointLimitSize
static ReferenceField<TagHistoryProviderRecord>
Profile
static LongField
ProfileId
static StringField
RemoteProviderName
static StringField
RemoteServerName
static BooleanField
RemoteSyncEnabled
static IntField
SendFrequency
Forward Settingsstatic EnumField<TimeUnits>
SendFrequencyUnits
static Category
SYNC
static BooleanField
TimeLimitEnabled
static IntField
TimeLimitSize
static EnumField<TimeUnits>
TimeLimitUnits
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description InternalHistorianSettingsRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxBatchSize()
RecordMeta<?>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.long
getPointLimit()
java.lang.String
getRemoteProvider()
java.lang.String
getRemoteServer()
java.lang.String
getSchedule()
long
getSyncFrequencyMS()
long
getTimeLimitMS()
Returns 0 if no limit is enforced.boolean
isRemoteSyncEnabled()
boolean
isScheduleEnabled()
-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
-
Methods inherited from class simpleorm.dataset.SRecordInstance
allFields, 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
-
META
public static final RecordMeta<InternalHistorianSettingsRecord> META
-
ProfileId
public static final LongField ProfileId
-
Profile
public static final ReferenceField<TagHistoryProviderRecord> Profile
-
TimeLimitEnabled
public static final BooleanField TimeLimitEnabled
-
TimeLimitSize
public static final IntField TimeLimitSize
-
PointLimitEnabled
public static final BooleanField PointLimitEnabled
-
PointLimitSize
public static final IntField PointLimitSize
-
RemoteSyncEnabled
public static final BooleanField RemoteSyncEnabled
-
RemoteServerName
public static final StringField RemoteServerName
-
RemoteProviderName
public static final StringField RemoteProviderName
-
SendFrequency
public static final IntField SendFrequency
Forward Settings
-
MaxBatchSize
public static final IntField MaxBatchSize
-
EnableSchedule
public static final BooleanField EnableSchedule
-
ForwardSchedule
public static final StringField ForwardSchedule
-
LIMITS
public static final Category LIMITS
-
SYNC
public static final Category SYNC
-
-
Method Detail
-
getMeta
public RecordMeta<?> getMeta()
Description copied from class:SRecordInstance
This 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
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in classPersistentRecord
-
getTimeLimitMS
public long getTimeLimitMS()
Returns 0 if no limit is enforced.
-
getPointLimit
public long getPointLimit()
-
isRemoteSyncEnabled
public boolean isRemoteSyncEnabled()
- Specified by:
isRemoteSyncEnabled
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
getRemoteProvider
public java.lang.String getRemoteProvider()
- Specified by:
getRemoteProvider
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
getRemoteServer
public java.lang.String getRemoteServer()
- Specified by:
getRemoteServer
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
getSyncFrequencyMS
public long getSyncFrequencyMS()
- Specified by:
getSyncFrequencyMS
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
isScheduleEnabled
public boolean isScheduleEnabled()
- Specified by:
isScheduleEnabled
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
getSchedule
public java.lang.String getSchedule()
- Specified by:
getSchedule
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
getMaxBatchSize
public int getMaxBatchSize()
- Specified by:
getMaxBatchSize
in interfacecom.inductiveautomation.ignition.gateway.tags.distributed.common.TagHistorySyncSettings
-
-