public interface UserDataHolderEx extends UserDataHolder
Modifier and Type | Method and Description |
---|---|
<T> T |
putUserDataIfAbsent(Key<T> key,
T value) |
<T> boolean |
replace(Key<T> key,
T oldValue,
T newValue)
Replaces (atomically) old value in the map with the new one
|
getUserData, putUserData
<T> T putUserDataIfAbsent(Key<T> key, T value)
<T> boolean replace(Key<T> key, T oldValue, T newValue)
ConcurrentMap.replace(Object, Object, Object)