com.hazelcast.client
Class ProxyHelper
java.lang.Object
com.hazelcast.client.ProxyHelper
public class ProxyHelper
- extends Object
|
Method Summary |
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)
|
|
entries(Predicate predicate)
|
int |
getCurrentThreadId()
|
HazelcastClient |
getHazelcastClient()
|
String |
getName()
|
|
keys(Predicate predicate)
|
static Long |
newCallId()
|
void |
sendCall(Call c)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyHelper
public ProxyHelper(String name,
HazelcastClient client)
getName
public String getName()
callAndGetResult
protected Packet callAndGetResult(Packet request)
doCall
protected Packet doCall(Call c)
sendCall
public void sendCall(Call c)
createCall
public Call createCall(Packet request)
newCallId
public static Long newCallId()
getCurrentThreadId
public int getCurrentThreadId()
createRequestPacket
public Packet createRequestPacket(ClusterOperation operation,
byte[] key,
byte[] value)
doOp
protected Object doOp(ClusterOperation operation,
Object key,
Object value)
doOp
public Object doOp(ClusterOperation operation,
Object key,
Object value,
long ttl,
TimeUnit timeunit)
doFireAndForget
public void doFireAndForget(ClusterOperation operation,
Object key,
Object value)
destroy
public void destroy()
keys
public <K> Collection<K> keys(Predicate predicate)
entries
public <K> Collection<K> entries(Predicate predicate)
getHazelcastClient
public HazelcastClient getHazelcastClient()
Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.