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 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 RpcMapService
writeTo
in interface RpcMultiMapService
IOException
public void readFrom(InputStream input)
readFrom
in interface RpcMapService
readFrom
in interface RpcMultiMapService
public <K,V> Map<K,V> mapCreate(String name)
mapCreate
in interface RpcMapService
public <K,V> void mapPut(String name, DataHolder<K> k, DataHolder<V> v)
mapPut
in interface RpcMapService
public <K,V> void mapPutAll(String name, Map<DataHolder<K>,DataHolder<V>> m)
mapPutAll
in interface RpcMapService
public <K,V> DataHolder<V> mapPutIfAbsent(String name, DataHolder<K> k, DataHolder<V> v)
mapPutIfAbsent
in interface RpcMapService
public <K,V> DataHolder<V> mapRemove(String name, DataHolder<K> k)
mapRemove
in interface RpcMapService
public <K,V> boolean mapRemoveIfPresent(String name, DataHolder<K> k, DataHolder<V> v)
mapRemoveIfPresent
in interface RpcMapService
public <K,V> DataHolder<V> mapReplace(String name, DataHolder<K> k, DataHolder<V> v)
mapReplace
in interface RpcMapService
public <K,V> boolean mapReplaceIfPresent(String name, DataHolder<K> k, DataHolder<V> oldValue, DataHolder<V> newValue)
mapReplaceIfPresent
in interface RpcMapService
public <K,V> void mapClear(String name)
mapClear
in interface RpcMapService
public Logger log()
log
in interface LambdaLogger
Copyright © 2015. All rights reserved.