@ThreadSafe @Internal public class CoordinatorStoreImpl extends Object implements CoordinatorStore
CoordinatorStore
.Constructor and Description |
---|
CoordinatorStoreImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
apply(Object key,
Function<Object,R> consumer) |
Object |
compute(Object key,
BiFunction<Object,Object,Object> mappingFunction) |
Object |
computeIfPresent(Object key,
BiFunction<Object,Object,Object> remappingFunction) |
boolean |
containsKey(Object key) |
Object |
get(Object key) |
Object |
putIfAbsent(Object key,
Object value) |
public boolean containsKey(Object key)
containsKey
in interface CoordinatorStore
public Object get(Object key)
get
in interface CoordinatorStore
public Object putIfAbsent(Object key, Object value)
putIfAbsent
in interface CoordinatorStore
public Object computeIfPresent(Object key, BiFunction<Object,Object,Object> remappingFunction)
computeIfPresent
in interface CoordinatorStore
public Object compute(Object key, BiFunction<Object,Object,Object> mappingFunction)
compute
in interface CoordinatorStore
public <R> R apply(Object key, Function<Object,R> consumer)
apply
in interface CoordinatorStore
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.