public class RecyclingSerialBinding<K>
extends com.sleepycat.bind.serial.SerialBinding<K>
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<com.sleepycat.util.FastOutputStream> |
fastOutputStreamHolder
Thread-local cache of reusable FastOutputStream
|
Constructor and Description |
---|
RecyclingSerialBinding(com.sleepycat.bind.serial.ClassCatalog classCatalog,
Class baseClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
objectToEntry(Object object,
com.sleepycat.je.DatabaseEntry entry)
Copies superclass simply to allow different source for FastOoutputStream.
|
entryToObject, getBaseClass, getClassLoader
protected ThreadLocal<com.sleepycat.util.FastOutputStream> fastOutputStreamHolder
public RecyclingSerialBinding(com.sleepycat.bind.serial.ClassCatalog classCatalog, Class baseClass)
classCatalog
- is the catalog to hold shared class informationbaseClass
- is the base class for serialized objects stored using
this bindingpublic void objectToEntry(Object object, com.sleepycat.je.DatabaseEntry entry)
Copyright © 2003-2014 Internet Archive. All Rights Reserved.