public class CacheRecordFactory extends Object
CacheRecord
Constructor and Description |
---|
CacheRecordFactory(InMemoryFormat inMemoryFormat,
SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
static boolean |
isExpiredAt(long expirationTime,
long now)
Determines if the Cache Entry associated with this value would be expired
at the specified time
|
CacheRecord |
newRecord(Data key,
Object value) |
CacheRecord |
newRecordWithExpiry(Data key,
Object value,
long expiryTime) |
public CacheRecordFactory(InMemoryFormat inMemoryFormat, SerializationService serializationService)
public CacheRecord newRecord(Data key, Object value)
public CacheRecord newRecordWithExpiry(Data key, Object value, long expiryTime)
public static boolean isExpiredAt(long expirationTime, long now)
now
- time in milliseconds (since the Epoc)Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.