endSample

endSample(samplingHandle: Integer);

The endSample method of the Node class terminates the sampling of statistics on the local node for the context identified by the samplingHandle parameter (returned by the beginSample method when sampling for the node started) and invokes the following entry points.

The JADE-supplied library closes and releases the current sampling file, which you can then analyze.

You can produce multiple files during a node lifetime, by using the Node class beginSample and endSample methods, but you cannot sample statistics simultaneously on the same node. For more details, see Chapter 4 of the JADE Object Manager Guide.