Click or drag to resize

ListPoolAcquire(Int32, Int32) Method

Try to acquire from the pool a number of list-ids that is within the given range (i.e. not less than minReqIDs and up to maxReqIDs)

Namespace: RAYLASE.Marker.Job.Executor
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
public List<int> Acquire(
	int minReqIDs,
	int maxReqIDs
)

Parameters

minReqIDs  Int32
The minimum number of list-ids we want to acquire from the pool
maxReqIDs  Int32
The maximum number of list-ids we want to acquire from the pool

Return Value

ListInt32
A list containing the acquired list-ids or an empty list, if the number of available free-ids is less than the minimum requested ones
See Also