Product Information > JADE Initialization File Reference > Chapter 1 - JADE Initialization File > SamplingLibraryInitialization

SamplingLibraryInitialization

String (file-name)

sampling.smp

Purpose

The SamplingLibraryInitialization parameter specifies the string that the JADE Object Manager passes to the user‑supplied library when the JADE system initializes and automatic JADE node sampling is enabled (that is, when the SamplingNode parameter is set to true).

You can use this parameter to specify any handshake or initialize information that your library requires. For details, see "JADE Sampling Libraries" under "Sampling Library Interface", in Chapter 4 of the JADE Object Manager Guide.

If you are using the filesmpl sampling library provided by JADE, you can use this parameter to specify the name of the sampling file (and optionally the file path) to which sampling is output if you want output directed to a file with a name other than the default sampling.smp in a destination other than the JADE installation directory (that is, in the directory in which the jade.exe executable program is located).

If you are using the filesmpl or tcpsmpl JADE sampling library, you can set this parameter to "<null>" or "" so that sample values will not be output.

For filesmpl, the values will not be written to a file. For tcpsmpl, the values will not be sent to a TCP/IP connection. Use this parameter in situations where node sampling needs to be enabled for the Process class getRequestStatistics method but you do not want file or TCP/IP output.

Parameter is read when …

The application server or the standard (fat) client node is next initialized.