Package | Description |
---|---|
net.openhft.chronicle.hash |
Contains common interfaces and utilities for
ChronicleMaps (net.openhft.chronicle.map package) and
ChronicleSets
(net.openhft.chronicle.set package). |
net.openhft.chronicle.hash.serialization |
Contains interfaces for serializing objects between Java heap and
Bytes or BytesStore , used by
Chronicle Map to store objects off-heap, and read them back from off-heap memory to on-heap
objects. |
net.openhft.chronicle.map |
Contains
ChronicleMap interface, ChronicleMap context
interfaces, ChronicleMapBuilder class and related stuff. |
net.openhft.chronicle.set |
Modifier and Type | Method and Description |
---|---|
<M extends BytesReader<K> & BytesWriter<? super K>> |
ChronicleHashBuilder.keyMarshaller(M marshaller)
Shortcut for
keyMarshallers(marshaller, marshaller) . |
Modifier and Type | Method and Description |
---|---|
B |
ChronicleHashBuilder.keyMarshallers(BytesReader<K> keyReader,
BytesWriter<? super K> keyWriter)
Configures the marshallers, used to serialize/deserialize keys to/from off-heap memory in
hash containers, created by this builder.
|
Modifier and Type | Class and Description |
---|---|
class |
ListMarshaller<T>
Marshaller of
List<T> . |
class |
MapMarshaller<K,V>
Marshaller of
Map<K, V> . |
class |
SetMarshaller<T>
Marshaller of
Set<T> . |
Modifier and Type | Method and Description |
---|---|
static <T,M extends BytesReader<T> & BytesWriter<? super T>> |
ListMarshaller.of(M elementMarshaller)
Returns a
ListMarshaller which uses the given marshaller as both reader and writer of
list elements. |
static <T,M extends BytesReader<T> & BytesWriter<? super T>> |
SetMarshaller.of(M elementMarshaller)
Returns a
SetMarshaller which uses the given marshaller as both reader and writer of
set elements. |
Modifier and Type | Method and Description |
---|---|
static <T> ListMarshaller<T> |
ListMarshaller.of(BytesReader<T> elementReader,
BytesWriter<? super T> elementWriter)
Returns a
ListMarshaller which uses the given list elements' serializers. |
static <T> SetMarshaller<T> |
SetMarshaller.of(BytesReader<T> elementReader,
BytesWriter<? super T> elementWriter)
Returns a
SetMarshaller which uses the given set elements' serializers. |
Constructor and Description |
---|
ListMarshaller(BytesReader<T> elementReader,
BytesWriter<? super T> elementWriter)
Constructs a
ListMarshaller with the given list elements' serializers. |
MapMarshaller(BytesReader<K> keyReader,
BytesWriter<? super K> keyWriter,
BytesReader<V> valueReader,
BytesWriter<? super V> valueWriter)
Constructs a
MapMarshaller with the given map keys' and values' serializers. |
MapMarshaller(BytesReader<K> keyReader,
BytesWriter<? super K> keyWriter,
BytesReader<V> valueReader,
BytesWriter<? super V> valueWriter)
Constructs a
MapMarshaller with the given map keys' and values' serializers. |
SetMarshaller(BytesReader<T> elementReader,
BytesWriter<? super T> elementWriter)
Constructs a
SetMarshaller with the given set elements' serializers. |
Modifier and Type | Method and Description |
---|---|
<M extends BytesReader<K> & BytesWriter<? super K>> |
ChronicleMapBuilder.keyMarshaller(M marshaller) |
<M extends BytesReader<V> & BytesWriter<? super V>> |
ChronicleMapBuilder.valueMarshaller(M marshaller)
Shortcut for
valueMarshallers(marshaller, marshaller) . |
Modifier and Type | Method and Description |
---|---|
ChronicleMapBuilder<K,V> |
ChronicleMapBuilder.keyMarshallers(BytesReader<K> keyReader,
BytesWriter<? super K> keyWriter) |
ChronicleMapBuilder<K,V> |
ChronicleMapBuilder.valueMarshallers(BytesReader<V> valueReader,
BytesWriter<? super V> valueWriter)
Configures the marshallers, used to serialize/deserialize values to/from off-heap memory in
maps, created by this builder.
|
Modifier and Type | Method and Description |
---|---|
<M extends BytesReader<K> & BytesWriter<? super K>> |
ChronicleSetBuilder.keyMarshaller(M marshaller) |
Modifier and Type | Method and Description |
---|---|
ChronicleSetBuilder<K> |
ChronicleSetBuilder.keyMarshallers(BytesReader<K> keyReader,
BytesWriter<? super K> keyWriter) |
Copyright © 2023. All rights reserved.