This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %SYNC.SyncTime

%SYNC.SyncTime

persistent class %SYNC.SyncTime extends %Library.Persistent

SQL Table Name: %SYNC.SyncTime

Property Inventory

Method Inventory

Properties

property Namespace as %String;
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceGetStored(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property SysId as %String;
Property methods: SysIdDisplayToLogical(), SysIdGet(), SysIdGetStored(), SysIdIsValid(), SysIdLogicalToDisplay(), SysIdLogicalToOdbc(), SysIdNormalize(), SysIdSet()
property lTRN as %Integer;
Property methods: lTRNDisplayToLogical(), lTRNGet(), lTRNGetStored(), lTRNIsValid(), lTRNLogicalToDisplay(), lTRNNormalize(), lTRNSet()
property rTRN as %Integer;
Property methods: rTRNDisplayToLogical(), rTRNGet(), rTRNGetStored(), rTRNIsValid(), rTRNLogicalToDisplay(), rTRNNormalize(), rTRNSet()

Methods

classmethod GetlTrn(syncSYSID As %String, syncNSID As %String, ByRef ltrn As %Integer) as %Status
classmethod GetrTrn(syncSYSID As %String, syncNSID As %String, ByRef rtrn As %Integer) as %Status
classmethod SetlTrn(syncSYSID As %String, syncNSID As %String, ltrn As %Integer) as %Status
Set the last transaction in the SyncTime table for a given system and namespace.
classmethod SetrTrn(syncSYSID As %String, syncNSID As %String, rtrn As %Integer) as %Status

Indexes

index (IndSysidNs on SysId,Namespace) [Unique];
Index methods: IndSysidNsCheck(), IndSysidNsCheckUnique(), IndSysidNsDelete(), IndSysidNsExists(), IndSysidNsOpen(), IndSysidNsSQLCheckUnique(), IndSysidNsSQLExists(), IndSysidNsSQLFindPKeyByConstraint(), IndSysidNsSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (%SYNC.SyncTime)

^Cache.SyncTimeD(ID)
=
%%CLASSNAME
Namespace
SysId
TRN
lTRN
rTRN