public class RpcServerObjDelegate extends Object implements RpcMapService, RpcMultiMapService, LambdaLogger
| Modifier and Type | Field and Description |
|---|---|
static MethodCallInterface.OneParameter |
CALL_MAP_CLEAR |
static MethodCallInterface.ThreeParameters |
CALL_MAP_PUT |
static MethodCallInterface.TwoParameters |
CALL_MAP_PUTALL |
static MethodCallInterface.ThreeParameters |
CALL_MAP_PUTIFABSENT |
static MethodCallInterface.TwoParameters |
CALL_MAP_REMOVE |
static MethodCallInterface.ThreeParameters |
CALL_MAP_REMOVEIFPRESENT |
static MethodCallInterface.ThreeParameters |
CALL_MAP_REPLACE |
static MethodCallInterface.FourParameters |
CALL_MAP_REPLACEIFPRESENT |
static MethodCallInterface.ThreeParameters |
CALL_MULTIMAP_ADD |
static MethodCallInterface.ThreeParameters |
CALL_MULTIMAP_REMOVE |
static MethodCallInterface.TwoParameters |
CALL_MULTIMAP_REMOVE_ALL |
| Constructor and Description |
|---|
RpcServerObjDelegate(RpcMapService mapService,
RpcMultiMapService multiMapService) |
public static final MethodCallInterface.ThreeParameters CALL_MULTIMAP_ADD
public static final MethodCallInterface.ThreeParameters CALL_MULTIMAP_REMOVE
public static final MethodCallInterface.TwoParameters CALL_MULTIMAP_REMOVE_ALL
public static final MethodCallInterface.ThreeParameters CALL_MAP_PUT
public static final MethodCallInterface.TwoParameters CALL_MAP_PUTALL
public static final MethodCallInterface.ThreeParameters CALL_MAP_PUTIFABSENT
public static final MethodCallInterface.TwoParameters CALL_MAP_REMOVE
public static final MethodCallInterface.ThreeParameters CALL_MAP_REMOVEIFPRESENT
public static final MethodCallInterface.ThreeParameters CALL_MAP_REPLACE
public static final MethodCallInterface.FourParameters CALL_MAP_REPLACEIFPRESENT
public static final MethodCallInterface.OneParameter CALL_MAP_CLEAR
public RpcServerObjDelegate(RpcMapService mapService, RpcMultiMapService multiMapService)
public org.jgroups.blocks.MethodLookup getMethodLookup()
public <K,V> MultiMap<K,V> multiMapCreate(String name)
multiMapCreate in interface RpcMultiMapServicepublic <K,V> void multiMapAdd(String name, DataHolder<K> k, DataHolder<V> v)
multiMapAdd in interface RpcMultiMapServicepublic <K,V> boolean multiMapRemove(String name, DataHolder<K> k, DataHolder<V> v)
multiMapRemove in interface RpcMultiMapServicepublic <K,V> void multiMapRemoveAll(String name, DataHolder<V> v)
multiMapRemoveAll in interface RpcMultiMapServicepublic void writeTo(OutputStream output) throws IOException
writeTo in interface RpcMapServicewriteTo in interface RpcMultiMapServiceIOExceptionpublic void readFrom(InputStream input)
readFrom in interface RpcMapServicereadFrom in interface RpcMultiMapServicepublic <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> void mapPutAll(String name, Map<DataHolder<K>,DataHolder<V>> m)
mapPutAll 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 Logger log()
log in interface LambdaLoggerCopyright © 2015. All rights reserved.