Hazelcast C++ Client
|
Expiring Data model interface. More...
#include <Expirable.h>
Public Member Functions | |
virtual int64_t | getExpirationTime ()=0 |
Gets the expiration time in milliseconds. More... | |
virtual void | setExpirationTime (int64_t expirationTime)=0 |
Sets the expiration time in milliseconds. More... | |
virtual bool | isExpiredAt (int64_t now)=0 |
Checks whether the expiration time is passed with respect to the provided time. More... | |
Expiring Data model interface.
This interface provides a time variable to be compared against other time values to decide on "future" or "past".
|
pure virtual |
Gets the expiration time in milliseconds.
|
pure virtual |
Checks whether the expiration time is passed with respect to the provided time.
Returns true
if and only if
.
now | time in milliseconds. |
|
pure virtual |
Sets the expiration time in milliseconds.
expirationTime |