1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!N #!Rsetloc SetLocal #!N #!N Category #!N #!N #!Lcatflow,dxall755 h Flow Control #!EL #!N 4#!N Function #!N #!N Places an object in the cache. #!N 5#!N Syntax #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N SetLocal( #!F-adobe-times-bold-r-normal--18* object, link 6#!EF ); #!EF #!N #!N #!EC #!N #!N Inputs #!T,1,91,276,461,646 #!F-adobe-times-medium-r-normal--14* 7 #!F-adobe-times-bold-r-normal--18* #!N TAB Name TAB Type TAB Default TAB Description #!EF 8#!N TAB object TAB object TAB no default TAB object to 9be cached #!N TAB link TAB string TAB no default TAB 10link to corresponding GetLocal #!N TAB - TAB - TAB - 11TAB module #!N TAB - TAB - TAB - TAB #!EF 12#!N #!N Functional Details #!N #!N This module works with GetLocal 13to place and retrieve objects from the cache: SetLocal places an 14 #!F-adobe-times-bold-r-normal--18* object #!EF in the cache, where GetLocal can retrieve it. 15SetLocal should always be used with GetLocal, not with GetGlobal. Note: 16The corresponding GetLocal module must be executed on the same machine 17(i.e., it cannot be distributed to another machine). See #!Lgetglo,dxall854 h GetGlobal #!EL and 18 #!Lgetloc,dxall855 h GetLocal #!EL for a discussion of the differences between the Global Get/Set 19pair and the Local Get/Set pair. #!N #!I0 #!N #!N #!I0 20#!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* object #!EF #!EF #!I50 #!N is the object 21to be placed in the cache. #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* 22link #!EF #!EF #!I50 #!N specifies the GetLocal module that corresponds 23to the SetLocal module. In the VPE, this link would be 24created by dragging an arc from the #!F-adobe-times-bold-r-normal--18* link #!EF output 25of GetLocal to the #!F-adobe-times-bold-r-normal--18* link #!EF input of SetLocal. #!I0 26#!N #!N A detailed description of the behavior and use of 27the GetLocal, GetGlobal, SetLocal, and SetGlobal modules can be found in 28 #!Lstates,dxall269 h Preserving Explicit State #!EL in IBM Visualization Data Explorer User's Guide. #!N #!N Example 29Visual Programs #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N Accumulate.net #!N Bounce.net #!N 30SimpleGetSetLoop.net #!EF #!N #!N #!EC #!N #!N See Also #!N #!N 31 #!Lgetloc,dxall855 h GetLocal #!EL , #!Lgetglo,dxall854 h GetGlobal #!EL , #!Lsetglo,dxall940 h SetGlobal #!EL #!N #!N #!Lxmod,dxall263 h Data Explorer Execution Model #!EL in IBM Visualization 32Data Explorer User's Guide. #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF 33#!N #!N #!Lshade,dxall942 h Shade #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N 34