public class ProxyHelper extends Object
Constructor and Description |
---|
ProxyHelper(String name,
HazelcastClient client) |
Modifier and Type | Method and Description |
---|---|
protected Packet |
callAndGetResult(Packet request) |
Call |
createCall(Packet request) |
Packet |
createRequestPacket(ClusterOperation operation,
byte[] key,
byte[] value) |
void |
destroy() |
protected Packet |
doCall(Call c) |
void |
doFireAndForget(ClusterOperation operation,
Object key,
Object value) |
protected Object |
doOp(ClusterOperation operation,
Object key,
Object value) |
Object |
doOp(ClusterOperation operation,
Object key,
Object value,
long ttl,
TimeUnit timeunit) |
<K> Collection<K> |
entries(Predicate predicate) |
int |
getCurrentThreadId() |
HazelcastClient |
getHazelcastClient() |
String |
getName() |
<K> Collection<K> |
keys(Predicate predicate) |
static Long |
newCallId() |
void |
sendCall(Call c) |
public ProxyHelper(String name, HazelcastClient client)
public String getName()
public void sendCall(Call c)
public static Long newCallId()
public int getCurrentThreadId()
public Packet createRequestPacket(ClusterOperation operation, byte[] key, byte[] value)
protected Object doOp(ClusterOperation operation, Object key, Object value)
public Object doOp(ClusterOperation operation, Object key, Object value, long ttl, TimeUnit timeunit)
public void doFireAndForget(ClusterOperation operation, Object key, Object value)
public void destroy()
public <K> Collection<K> keys(Predicate predicate)
public <K> Collection<K> entries(Predicate predicate)
public HazelcastClient getHazelcastClient()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.