public interface InsertedEvent<K,V> extends MapEvent<K,V>
Modifier and Type | Method and Description |
---|---|
default void |
apply(@NotNull MapEventListener<K,V> listener) |
static <K,V> @NotNull InsertedEvent<K,V> |
of(@NotNull String assetFullName,
K key,
V value) |
default V |
oldValue() |
default V |
setValue(V value) |
default <K2,V2> @NotNull MapEvent<K2,V2> |
translate(@NotNull BiFunction<K,K2,K2> keyFunction,
@NotNull BiFunction<V,V2,V2> valueFunction) |
default <K2,V2> @NotNull MapEvent<K2,V2> |
translate(@NotNull Function<K,K2> keyFunction,
@NotNull Function<V,V2> valueFunction) |
isReplicationEvent
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCode
assetFullName
$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallable
@NotNull static <K,V> @NotNull InsertedEvent<K,V> of(@NotNull @NotNull String assetFullName, @NotNull K key, V value)
@NotNull default <K2,V2> @NotNull MapEvent<K2,V2> translate(@NotNull @NotNull Function<K,K2> keyFunction, @NotNull @NotNull Function<V,V2> valueFunction)
@NotNull default <K2,V2> @NotNull MapEvent<K2,V2> translate(@NotNull @NotNull BiFunction<K,K2,K2> keyFunction, @NotNull @NotNull BiFunction<V,V2,V2> valueFunction)
default void apply(@NotNull @NotNull MapEventListener<K,V> listener)
Copyright © 2021. All rights reserved.