Class BTreeNode.Marshaller<Key,Value>
java.lang.Object
org.apache.activemq.store.kahadb.disk.util.VariableMarshaller<BTreeNode<Key,Value>>
org.apache.activemq.store.kahadb.disk.index.BTreeNode.Marshaller<Key,Value>
- Type Parameters:
Key-Value-
- All Implemented Interfaces:
Marshaller<BTreeNode<Key,Value>>
public static class BTreeNode.Marshaller<Key,Value>
extends VariableMarshaller<BTreeNode<Key,Value>>
The Marshaller is used to store and load the data in the BTreeNode into a Page.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadPayload(DataInput is) Read the payload of the object from the DataInput stream.voidwritePayload(BTreeNode<Key, Value> node, DataOutput os) Write the payload of the object to the DataOutput stream.Methods inherited from class org.apache.activemq.store.kahadb.disk.util.VariableMarshaller
deepCopy, getFixedSize, isDeepCopySupported
-
Constructor Details
-
Marshaller
-
-
Method Details
-
writePayload
Description copied from interface:MarshallerWrite the payload of the object to the DataOutput stream.- Throws:
IOException
-
readPayload
Description copied from interface:MarshallerRead the payload of the object from the DataInput stream.- Returns:
- unmarshalled object
- Throws:
IOException
-