Class StandardizerWrappers

java.lang.Object
com.chemaxon.overlap.io.StandardizerWrappers

@Beta @PublicApi public final class StandardizerWrappers extends Object
Provide utility methods for StandardizerWrapper.

Please note that the ThreadLocal based thread safety fix might lead to unexpected memory leaks when worker threads invoking the provided wrappers are pooled. To mitigate this problem make the reference to the wrapper inacessable allowing the garbage collector to free the thread local copies up.

Note that an alternative approach would be to implement a Closeable semantics to allow explicitly freeing up the copies, however this is currently considered not viable.

TODO: investigate the possibility to implement some expiring cache to drop (and if necessary, re-inti) ThreadLocals. TODO: Maybe ExpiringThreadLocal(timeout)? to mitigate this issue?
See Also: