19 #ifndef HAZELCAST_ILock    20 #define HAZELCAST_ILock    24 #include "hazelcast/client/spi/ClientContext.h"    25 #include "hazelcast/client/proxy/ProxyImpl.h"    26 #include "hazelcast/client/serialization/pimpl/Data.h"    27 #include "hazelcast/client/impl/ClientLockReferenceIdGenerator.h"    29 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)    31 #pragma warning(disable: 4251) //for dll export    41         class HAZELCAST_API 
ILock : 
public proxy::ProxyImpl {
    42             friend class impl::HazelcastClientInstanceImpl;
    58             void lock(
long leaseTimeInMillis);
    81             bool isLockedByCurrentThread();
    96             long getRemainingLeaseTime();
   112             bool tryLock(
long timeInMillis);
   115             virtual void onInitialize();
   119             ILock(
const std::string& instanceName, spi::ClientContext *context);
   121             serialization::pimpl::Data key;
   123             boost::shared_ptr<impl::ClientLockReferenceIdGenerator> referenceIdGenerator;
   128 #if  defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)   132 #endif //HAZELCAST_ILock Re-entrant Lock, Distributed client implementation of Lock. 
Definition: ILock.h:41
PN (Positive-Negative) CRDT counter. 
Definition: MapEntryView.h:32