@InterfaceAudience.Private public class ThreadLocalEncoderPool extends Object implements EncoderPool
| Constructor and Description |
|---|
ThreadLocalEncoderPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIn(PrefixTreeEncoder encoder) |
PrefixTreeEncoder |
checkOut(OutputStream os,
boolean includeMvccVersion)
Get the encoder attached to the current ThreadLocal, or create a new one and attach it to the
current thread.
|
public PrefixTreeEncoder checkOut(OutputStream os, boolean includeMvccVersion)
checkOut in interface EncoderPoolpublic void checkIn(PrefixTreeEncoder encoder)
checkIn in interface EncoderPoolCopyright © 2014 The Apache Software Foundation. All rights reserved.