19 #ifndef HAZELCAST_ILock 
   20 #define HAZELCAST_ILock 
   22 #include "hazelcast/client/spi/ClientContext.h" 
   23 #include "hazelcast/client/spi/InvocationService.h" 
   24 #include "hazelcast/client/proxy/ProxyImpl.h" 
   25 #include "hazelcast/client/serialization/pimpl/Data.h" 
   28 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
   30 #pragma warning(disable: 4251) //for dll export 
   40         class HAZELCAST_API 
ILock : 
public proxy::ProxyImpl {
 
   57             void lock(
long leaseTimeInMillis);
 
   80             bool isLockedByCurrentThread();
 
   95             long getRemainingLeaseTime();
 
  111             bool tryLock(
long timeInMillis);
 
  115             ILock(
const std::string& instanceName, spi::ClientContext *context);
 
  117             serialization::pimpl::Data key;
 
  124 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 
  128 #endif //HAZELCAST_ILock 
Re-entrant Lock, Distributed client implementation of Lock. 
Definition: ILock.h:40
 
Hazelcast Client enables you to do all Hazelcast operations without being a member of the cluster...
Definition: HazelcastClient.h:459