org.tm4j.panckoucke.impl.store.PanckouckeStore .getFactoryCache(java.util.HashMap hm)

Description

Returns a shallow copy of the TopicMapProviderFactoryCache

This method is intended to be used for Testing/Statistics.
On each call, it generates and returns a new copy of the FactoryCache. To minimize object creation, you may pass a hashmap to the method which will be filled with the cached Factories and will be returned to the caller.

Parameters
java.util.HashMap hm a Hashmap, Optional. Servers to suppress the creation of a new Hashmap-Instance on every call. The contents of the FactoryCache are added to hm, so it may be a good idea to empty the Map before calling this method. If not Hashmap is passed, this method generates one.

Returns

the passed-in or the newly created Hashmap.

Other Resources

Related Topics

Has Parameters