public class DefaultRpcMultiMapService extends Object implements RpcMultiMapService, LambdaLogger
Constructor and Description |
---|
DefaultRpcMultiMapService() |
Modifier and Type | Method and Description |
---|---|
Logger |
log() |
<K,V> void |
multiMapAdd(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> MultiMap<K,V> |
multiMapCreate(String name) |
<K,V> boolean |
multiMapRemove(String name,
DataHolder<K> k,
DataHolder<V> v) |
<K,V> void |
multiMapRemoveAll(String name,
DataHolder<V> v) |
void |
readFrom(InputStream input) |
void |
writeTo(OutputStream output) |
public <K,V> MultiMap<K,V> multiMapCreate(String name)
multiMapCreate
in interface RpcMultiMapService
public <K,V> void multiMapAdd(String name, DataHolder<K> k, DataHolder<V> v)
multiMapAdd
in interface RpcMultiMapService
public <K,V> boolean multiMapRemove(String name, DataHolder<K> k, DataHolder<V> v)
multiMapRemove
in interface RpcMultiMapService
public <K,V> void multiMapRemoveAll(String name, DataHolder<V> v)
multiMapRemoveAll
in interface RpcMultiMapService
public void writeTo(OutputStream output) throws IOException
writeTo
in interface RpcMultiMapService
IOException
public void readFrom(InputStream input) throws IOException, ClassNotFoundException
readFrom
in interface RpcMultiMapService
IOException
ClassNotFoundException
public Logger log()
log
in interface LambdaLogger
Copyright © 2015. All rights reserved.