Modifier and Type | Class and Description |
---|---|
class |
AbstractData<T>
Defines reasonable defaults for
Data 's equals() , hashCode() and
toString() . |
Modifier and Type | Method and Description |
---|---|
Data<K> |
HashAbsentEntry.absentKey()
Returns the key is going to be inserted into the
ChronicleHash . |
Data<K> |
HashEntry.key()
Returns the entry key.
|
Data<K> |
HashQueryContext.queriedKey()
Returns the queried key as a
Data . |
Modifier and Type | Method and Description |
---|---|
static boolean |
Data.bytesEquivalent(Data<?> d1,
Data<?> d2)
Utility method, compares two
Data instances represent equivalent bytes sequences:
by comparing their sizes, then calling d1.equivalent(d2.bytes(), d2.offset()) . |
static boolean |
Data.bytesEquivalent(Data<?> d1,
Data<?> d2)
Utility method, compares two
Data instances represent equivalent bytes sequences:
by comparing their sizes, then calling d1.equivalent(d2.bytes(), d2.offset()) . |
EQC |
ChronicleHash.queryContext(Data<K> key)
Returns a context to perform arbitrary operations with the given key, provided in
Data form. |
Modifier and Type | Class and Description |
---|---|
class |
EntryKeyBytesData<K> |
class |
InputKeyBytesData<K> |
Modifier and Type | Method and Description |
---|---|
Data<K> |
HashEntryStages.key() |
Modifier and Type | Method and Description |
---|---|
void |
HashEntryStages.writeNewEntry(long pos,
Data<?> key) |
Modifier and Type | Field and Description |
---|---|
Data<K> |
KeySearch.inputKey |
Modifier and Type | Method and Description |
---|---|
Data<K> |
HashQuery.queriedKey() |
Modifier and Type | Method and Description |
---|---|
void |
KeySearch.initInputKey(Data<K> inputKey) |
Modifier and Type | Method and Description |
---|---|
Data<T> |
DataAccess.getData(T instance)
Obtain
Data accessor to the bytes of the given object. |
Modifier and Type | Method and Description |
---|---|
Data<V> |
MapAbsentEntry.defaultValue()
Returns the default (or nil) value, that should be inserted into the map in
this context.
|
Data<V> |
DefaultValueProvider.defaultValue(MapAbsentEntry<K,V> absentEntry)
Returns the "nil" value, which should be inserted into the map, in the given
absentEntry context. |
Data<V> |
MapEntry.value()
Returns the entry value.
|
Data<V> |
MapContext.wrapValueAsData(V value)
Wraps the given value as a
Data . |
Data<V> |
MapContext.wrapValueBytesAsData(net.openhft.chronicle.bytes.BytesStore valueBytes,
long offset,
long size)
Wraps the given value bytes as a
Data . |
Modifier and Type | Method and Description |
---|---|
void |
MapAbsentEntry.doInsert(Data<V> value)
Inserts the new entry into the map, of the key and the given
value . |
void |
MapEntry.doReplaceValue(Data<V> newValue)
Replaces the entry's value with the given
newValue . |
default R |
MapEntryOperations.insert(MapAbsentEntry<K,V> absentEntry,
Data<V> value)
Inserts the new entry into the map, of
the key from
the given insertion context (absentEntry ) and the given value . |
default void |
MapMethods.merge(MapQueryContext<K,V,R> q,
Data<V> value,
BiFunction<? super V,? super V,? extends V> remappingFunction,
ReturnValue<V> returnValue)
Backing
ConcurrentMap.merge(Object, Object, BiFunction) method. |
default void |
MapMethods.put(MapQueryContext<K,V,R> q,
Data<V> value,
ReturnValue<V> returnValue)
Backing
Map.put(Object, Object) method. |
default void |
MapMethods.putIfAbsent(MapQueryContext<K,V,R> q,
Data<V> value,
ReturnValue<V> returnValue)
Backing
ConcurrentMap.putIfAbsent(Object, Object) method. |
default boolean |
MapMethods.remove(MapQueryContext<K,V,R> q,
Data<V> value)
Backing
ConcurrentMap.remove(Object, Object) method. |
default boolean |
MapMethods.replace(MapQueryContext<K,V,R> q,
Data<V> oldValue,
Data<V> newValue)
Backing
ConcurrentMap.replace(Object, Object, Object) method. |
default boolean |
MapMethods.replace(MapQueryContext<K,V,R> q,
Data<V> oldValue,
Data<V> newValue)
Backing
ConcurrentMap.replace(Object, Object, Object) method. |
default void |
MapMethods.replace(MapQueryContext<K,V,R> q,
Data<V> value,
ReturnValue<V> returnValue)
Backing
ConcurrentMap.replace(Object, Object) method. |
default R |
MapEntryOperations.replaceValue(MapEntry<K,V> entry,
Data<V> newValue)
Replaces the given entry's value with the new one.
|
void |
ReturnValue.returnValue(Data<V> value)
Calling this method on a
ReturnValue object, provided as an argument in a method from
MapMethods , designates that the ChronicleMap 's method (backed by this
MapMethods 's method) should return the given value . |
Modifier and Type | Class and Description |
---|---|
class |
DummyValueZeroData<V> |
Modifier and Type | Class and Description |
---|---|
class |
EntryValueBytesData<V> |
class |
WrappedValueBytesData<V> |
Modifier and Type | Field and Description |
---|---|
Data<V> |
WrappedValueInstanceDataHolder.wrappedData |
Modifier and Type | Method and Description |
---|---|
Data<V> |
MapEntryStages.value() |
Modifier and Type | Method and Description |
---|---|
void |
MapEntryStages.initValue(Data<?> value) |
void |
MapEntryStages.innerDefaultReplaceValue(Data<V> newValue) |
long |
MapEntryStages.newEntrySize(Data<V> newValue,
long entryStartOffset,
long newValueOffset) |
long |
MapEntryStages.newSizeOfEverythingBeforeValue(Data<V> newValue) |
protected void |
MapEntryStages.relocation(Data<V> newValue,
long newEntrySize) |
protected void |
ReplicatedMapEntryStages.relocation(Data<V> newValue,
long newEntrySize) |
void |
MapEntryStages.writeValue(Data<?> value) |
Modifier and Type | Method and Description |
---|---|
Data<V> |
ReplicatedInput.dummyZeroValue() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicatedInput.remotePut(Data<V> newValue,
byte remoteEntryIdentifier,
long remoteEntryTimestamp,
byte remoteNodeIdentifier) |
Modifier and Type | Method and Description |
---|---|
Data<K> |
ReplicatedMapAbsentDelegatingForIteration.absentKey() |
Data<V> |
ReplicatedMapAbsentDelegatingForIteration.defaultValue() |
Data<K> |
ReplicatedMapEntryDelegating.key() |
Data<V> |
ReplicatedMapEntryDelegating.value() |
Modifier and Type | Method and Description |
---|---|
void |
ReplicatedMapSegmentIteration.doInsert(Data<V> value) |
void |
ReplicatedMapAbsentDelegatingForIteration.doInsert(Data<V> value) |
void |
MapSegmentIteration.doReplaceValue(Data<V> newValue) |
void |
ReplicatedMapSegmentIteration.doReplaceValue(Data<V> newValue) |
void |
ReplicatedMapEntryDelegating.doReplaceValue(Data<V> newValue) |
Modifier and Type | Method and Description |
---|---|
Data<V> |
DefaultValue.defaultValue() |
Data<V> |
MapEntryOperationsDelegation.defaultValue(MapAbsentEntry<K,V> absentEntry) |
Data<V> |
WrappedValueInstanceDataHolderAccess.wrapValueAsData(V value) |
Data<V> |
WrappedValueBytesDataAccess.wrapValueBytesAsData(net.openhft.chronicle.bytes.BytesStore bytesStore,
long offset,
long size) |
Modifier and Type | Method and Description |
---|---|
R |
MapEntryOperationsDelegation.insert(MapAbsentEntry<K,V> absentEntry,
Data<V> value) |
R |
MapEntryOperationsDelegation.replaceValue(MapEntry<K,V> entry,
Data<V> newValue) |
Modifier and Type | Method and Description |
---|---|
Data<K> |
ReplicatedMapAbsent.absentKey() |
Data<K> |
ReplicatedMapAbsentDelegating.absentKey() |
Data<K> |
MapAbsent.absentKey() |
Data<V> |
ReplicatedMapAbsentDelegating.defaultValue() |
Data<K> |
MapQuery.getInputKeyBytesAsData(net.openhft.chronicle.bytes.BytesStore bytesStore,
long offset,
long size) |
Modifier and Type | Method and Description |
---|---|
void |
ReplicatedMapAbsent.doInsert(Data<V> value) |
void |
ReplicatedMapAbsentDelegating.doInsert(Data<V> value) |
void |
MapAbsent.doInsert(Data<V> value) |
void |
MapQuery.doReplaceValue(Data<V> newValue) |
void |
ReplicatedMapQuery.doReplaceValue(Data<V> newValue) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultReturnValue.returnValue(Data<V> value) |
void |
UsingReturnValue.returnValue(Data<V> value) |
Copyright © 2020. All rights reserved.