org.tm4j.panckoucke.impl.store.PanckouckeStore .getLoadQueue(java.util.List li)

Description

Returns a shallow copy of the loadQueue

This method is intended to be used for Testing/Statistics.
On each call, it generates and returns a new copy of the loadQueue. To minimize object creation, you may pass a list to the method which will be used to hold the LoadQueue-Data and will be returned to the caller.

Parameters
java.util.List li a List, Optional. Servers to suppress the creation of a fresh List-Instance on every call. The contents of the Load-Queue are added at the end of the list, so it may be a good idea to empty the List before calling this method. If not List is passed, this method generates one.

Returns

the passed-in list or the newly created.

Other Resources

Related Topics

Has Parameters