Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

If your Snaplex uses the slpropz file, you can set the cache duration in SnapLogic Manager. 

  1. Confirm that the global properties file jcc .slpropz is available in your Snaplex's snaplogic/etc folder. 

  2. In the Update Snaplex dialog, Node Properties tab, under Global propertiesadd the global property, "jcc.jvm_options = -Dsnaplogic.network.read.cache.duration.minutes=nnn", where nnn is the cache duration in minutes. For example, to decrease the cache duration to 1 minute, specify the Value as -Dsnaplogic.network.read.cache.duration.minutes=1.


  3. Click Apply. This updates the cache duration and restarts the Snaplex with the new setting.

Method 2: Manually Specifying the Cache Duration in the global.properties File  

You can manually modify the cache duration in the global.property file in your local SnapLogic environment.

  1. Access the /etc folder in your SnapLogic installation:

    For a Linux installation, enter the following command in the Terminal.

    Code Block
    cd $SL_ROOT/etc

    For a Windows installation, enter the following command in the command prompt.

    Code Block
    cd %SL_ROOT%\etc
    Open the global.properties file.
    Add the following entry:
    jcc.jvm_options = -Dsnaplogic.network.read.cache.duration.minutes=1
    Save the file and restart the Snaplex to update the cache duration.

...

See Also

Updating a Snaplex