Alternative to SnzInputStream
with support for multi-threaded decomression.
By default, SnzMTInputStream will use a default ThreadPoolExecutor with a core size set to the number of available CPUs and a maximum size of twice the number of available CPUs. The threads used yby the default executor will be started as daemon threads. The default executor is not created until actually requried and can be queried and replaced with the static getDefaultExecutor
and setDefaultExecutor
methods.
|
|