public class ThreadLocalRecordCompressorFactory<A extends RecordCompressor> extends Object implements IRecordCompressorFactory<A>
IRecordCompressorFactorywith thread-local semantics based on an internal weak value cache and providing instances based on a delegate
IRecordCompressorFactory. This is designed to work well when the application is single-threaded as well as when there are concurrent threads demanding instances from the delegate factory.
|Constructor and Description|
Copyright © 2006-2014 SYSTAP, LLC. All Rights Reserved.