public class DefaultRpcMapService extends Object implements RpcMapService, LambdaLogger
| Constructor and Description |
|---|
DefaultRpcMapService() |
| Modifier and Type | Method and Description |
|---|---|
Logger |
log() |
<K,V> void |
mapClear(String name) |
<K,V> Map<K,V> |
mapCreate(String name) |
<K,V> void |
mapPut(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> void |
mapPutAll(String name,
Map<DataHolder<K>,DataHolder<V>> m) |
<K,V> DataHolder<V> |
mapPutIfAbsent(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> DataHolder<V> |
mapRemove(String name,
DataHolder<K> k) |
<K,V> boolean |
mapRemoveIfPresent(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> DataHolder<V> |
mapReplace(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> boolean |
mapReplaceIfPresent(String name,
DataHolder<K> k,
DataHolder<V> oldValue,
DataHolder<V> newValue) |
void |
readFrom(InputStream input) |
void |
writeTo(OutputStream output) |
public <K,V> Map<K,V> mapCreate(String name)
mapCreate in interface RpcMapServicepublic <K,V> void mapPut(String name, DataHolder<K> k, DataHolder<V> v)
mapPut in interface RpcMapServicepublic <K,V> DataHolder<V> mapPutIfAbsent(String name, DataHolder<K> k, DataHolder<V> v)
mapPutIfAbsent in interface RpcMapServicepublic <K,V> DataHolder<V> mapRemove(String name, DataHolder<K> k)
mapRemove in interface RpcMapServicepublic <K,V> boolean mapRemoveIfPresent(String name, DataHolder<K> k, DataHolder<V> v)
mapRemoveIfPresent in interface RpcMapServicepublic <K,V> DataHolder<V> mapReplace(String name, DataHolder<K> k, DataHolder<V> v)
mapReplace in interface RpcMapServicepublic <K,V> boolean mapReplaceIfPresent(String name, DataHolder<K> k, DataHolder<V> oldValue, DataHolder<V> newValue)
mapReplaceIfPresent in interface RpcMapServicepublic <K,V> void mapClear(String name)
mapClear in interface RpcMapServicepublic <K,V> void mapPutAll(String name, Map<DataHolder<K>,DataHolder<V>> m)
mapPutAll in interface RpcMapServicepublic void writeTo(OutputStream output) throws IOException
writeTo in interface RpcMapServiceIOExceptionpublic void readFrom(InputStream input) throws IOException, ClassNotFoundException
readFrom in interface RpcMapServiceIOExceptionClassNotFoundExceptionpublic Logger log()
log in interface LambdaLoggerCopyright © 2015. All rights reserved.