The endSampleGroupDefinition method of the System class terminates the sampling context identified in the samplingHandle parameter for the group of nodes.
For more details, see Chapter 4 of the JADE Object Manager Guide. See also the System class beginSampleGroupDefinition method, for details about the sampling handle.