Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.BPL.Sync
Private  Storage   

Ens.BPL.Sync


class Ens.BPL.Sync extends
Ens.BPL.Activity

Provides the ability to synchronize on one or more asynchronous calls

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 5


Summary


Properties
ActivityID AllowResync Annotation Calls Disabled
Name Parent Timeout Type XEnd
XPos YEnd YPos

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AllowResyncGet DisabledGet DisplayName GenerateAnnotation
GenerateCode GenerateXML NormalizeAttribute Validate


Properties


• property AllowResync as %Boolean [ InitialExpression = 0 ];
This holds the allow-resync flag
• property Calls as %String(MAXLEN="");
This holds the comma delimited list of names of calls to wait for
• property Timeout as %String;
This holds the timeout
• property Type as %String [ InitialExpression = "all" ];
This holds the type, 'any' = wait for any call to complete, 'all' = wait for all calls to complete

Methods


• method AllowResyncGet() as %Boolean
This is a Get accessor method for the AllowResync property.
• method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
• method GenerateXML(pStream As %BinaryStream) as %Status
This generates the common XML attributes for this Activity
• method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree