16 #ifndef HAZELCAST_CLIENT_IFUTURE_H_ 17 #define HAZELCAST_CLIENT_IFUTURE_H_ 19 #include <boost/shared_ptr.hpp> 21 #include "hazelcast/client/exception/InterruptedException.h" 22 #include "hazelcast/util/concurrent/TimeUnit.h" 27 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 29 #pragma warning(disable: 4251) //for dll export 76 virtual bool cancel(
bool mayInterruptIfRunning) = 0;
84 virtual bool isCancelled() = 0;
95 virtual bool isDone() = 0;
108 virtual boost::shared_ptr<V>
get() = 0;
124 virtual boost::shared_ptr<V>
get(int64_t timeout,
125 const TimeUnit &unit) = 0;
131 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Definition: MapEntryView.h:33
A.
Definition: IFuture.h:50
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32