public class CompressorCache
extends java.lang.Object
| Constructor and Description |
|---|
CompressorCache() |
| Modifier and Type | Method and Description |
|---|---|
ExternalCompressor |
getCompressorForMethod(BlockCompressionMethod compressionMethod,
int compressorSpecificArg)
Return a compressor if its in our cache, otherwise spin one up and cache it and return it.
|
public ExternalCompressor getCompressorForMethod(BlockCompressionMethod compressionMethod, int compressorSpecificArg)
compressionMethod - compressorSpecificArg -