Search in sources :

Example 1 with ExpiryMetadataImpl

use of com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadataImpl in project hazelcast by hazelcast.

the class Records method readExpiry.

public static ExpiryMetadata readExpiry(ObjectDataInput in) throws IOException {
    ExpiryMetadata expiryMetadata = ExpiryMetadata.NULL;
    boolean hasExpiry = in.readBoolean();
    if (hasExpiry) {
        expiryMetadata = new ExpiryMetadataImpl();
        expiryMetadata.read(in);
    }
    return expiryMetadata;
}
Also used : ExpiryMetadataImpl(com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadataImpl) ExpiryMetadata(com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadata)

Aggregations

ExpiryMetadata (com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadata)1 ExpiryMetadataImpl (com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadataImpl)1