public class RemovedEvent<K,V> extends Object implements MapEvent<K,V>
MapEvent.MapEventFields| Modifier and Type | Method and Description |
|---|---|
void |
apply(MapEventListener<K,V> listener) |
String |
assetName() |
boolean |
equals(Object obj) |
int |
hashCode() |
K |
key() |
static <K,V> RemovedEvent<K,V> |
of(String assetName,
K key,
V value) |
V |
oldValue() |
void |
readMarshallable(net.openhft.chronicle.wire.WireIn wire) |
String |
toString() |
<K2,V2> MapEvent<K2,V2> |
translate(java.util.function.BiFunction<K,K2,K2> keyFunction,
java.util.function.BiFunction<V,V2,V2> valueFunction) |
<K2,V2> MapEvent<K2,V2> |
translate(java.util.function.Function<K,K2> keyFunction,
java.util.function.Function<V,V2> valueFunction) |
V |
value() |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut wire) |
@NotNull public static <K,V> RemovedEvent<K,V> of(String assetName, K key, V value)
public String assetName()
assetName in interface ChangeEvent@NotNull public <K2,V2> MapEvent<K2,V2> translate(@NotNull java.util.function.Function<K,K2> keyFunction, @NotNull java.util.function.Function<V,V2> valueFunction)
@NotNull public <K2,V2> MapEvent<K2,V2> translate(@NotNull java.util.function.BiFunction<K,K2,K2> keyFunction, @NotNull java.util.function.BiFunction<V,V2,V2> valueFunction)
@Nullable public K key()
key in interface KeyValueStore.Entry<K,V>@Nullable public V value()
value in interface KeyValueStore.Entry<K,V>public void apply(@NotNull
MapEventListener<K,V> listener)
public void readMarshallable(@NotNull
net.openhft.chronicle.wire.WireIn wire)
throws IllegalStateException
readMarshallable in interface net.openhft.chronicle.wire.ReadMarshallableIllegalStateExceptionpublic void writeMarshallable(@NotNull
net.openhft.chronicle.wire.WireOut wire)
writeMarshallable in interface net.openhft.chronicle.wire.WriteMarshallableCopyright © 2015. All rights reserved.