public class ClientConditionProxy extends ClientProxy implements ICondition
ICondition
.name
Constructor and Description |
---|
ClientConditionProxy(ClientLockProxy clientLockProxy,
String name,
ClientContext context) |
Modifier and Type | Method and Description |
---|---|
void |
await() |
boolean |
await(long time,
TimeUnit unit) |
long |
awaitNanos(long nanosTimeout) |
void |
awaitUninterruptibly() |
boolean |
awaitUntil(Date deadline) |
protected com.hazelcast.client.impl.protocol.ClientMessage |
invokeOnPartition(com.hazelcast.client.impl.protocol.ClientMessage req) |
protected <T> ClientDelegatingFuture<T> |
invokeOnPartitionAsync(com.hazelcast.client.impl.protocol.ClientMessage clientMessage,
com.hazelcast.client.impl.ClientMessageDecoder clientMessageDecoder) |
protected <T> T |
invokeOnPartitionInterruptibly(com.hazelcast.client.impl.protocol.ClientMessage clientMessage) |
protected void |
onInitialize()
Called when proxy is created.
|
void |
signal() |
void |
signalAll() |
deregisterListener, destroy, destroyLocally, destroyRemotely, equals, getClient, getConnectedServerVersion, getContext, getDistributedObjectName, getId, getName, getPartitionKey, getSerializationService, getServiceName, hashCode, invoke, invoke, invokeOnAddress, invokeOnPartition, invokeOnPartitionInterruptibly, onDestroy, onShutdown, postDestroy, preDestroy, registerListener, setContext, toData, toObject
public ClientConditionProxy(ClientLockProxy clientLockProxy, String name, ClientContext context)
public void await() throws InterruptedException
await
in interface Condition
InterruptedException
public void awaitUninterruptibly()
awaitUninterruptibly
in interface Condition
public long awaitNanos(long nanosTimeout) throws InterruptedException
awaitNanos
in interface Condition
InterruptedException
public boolean await(long time, TimeUnit unit) throws InterruptedException
await
in interface Condition
InterruptedException
public boolean awaitUntil(Date deadline) throws InterruptedException
awaitUntil
in interface Condition
InterruptedException
protected void onInitialize()
ClientProxy
protected com.hazelcast.client.impl.protocol.ClientMessage invokeOnPartition(com.hazelcast.client.impl.protocol.ClientMessage req)
protected <T> T invokeOnPartitionInterruptibly(com.hazelcast.client.impl.protocol.ClientMessage clientMessage) throws InterruptedException
InterruptedException
protected <T> ClientDelegatingFuture<T> invokeOnPartitionAsync(com.hazelcast.client.impl.protocol.ClientMessage clientMessage, com.hazelcast.client.impl.ClientMessageDecoder clientMessageDecoder)
Copyright © 2018 Hazelcast, Inc.. All rights reserved.