Search in sources :

Example 16 with ExpiryMetadata

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

the class TxnSetOperation method getBackupOperation.

@Override
public Operation getBackupOperation() {
    Record record = recordStore.getRecord(dataKey);
    dataValue = getValueOrPostProcessedValue(record, dataValue);
    ExpiryMetadata expiryMetadata = recordStore.getExpirySystem().getExpiryMetadata(dataKey);
    return new TxnSetBackupOperation(name, dataKey, record, dataValue, expiryMetadata, transactionId);
}
Also used : Record(com.hazelcast.map.impl.record.Record) ExpiryMetadata(com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadata)

Aggregations

ExpiryMetadata (com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadata)16 Data (com.hazelcast.internal.serialization.Data)13 Record (com.hazelcast.map.impl.record.Record)11 ArrayList (java.util.ArrayList)3 List (java.util.List)3 EvictionConfig (com.hazelcast.config.EvictionConfig)2 Indexes (com.hazelcast.query.impl.Indexes)2 ParallelJVMTest (com.hazelcast.test.annotation.ParallelJVMTest)2 QuickTest (com.hazelcast.test.annotation.QuickTest)2 Test (org.junit.Test)2 LocalRecordStoreStatsImpl (com.hazelcast.internal.monitor.impl.LocalRecordStoreStatsImpl)1 ToHeapDataConverter.toHeapData (com.hazelcast.internal.util.ToHeapDataConverter.toHeapData)1 MapContainer (com.hazelcast.map.impl.MapContainer)1 EntryEventData (com.hazelcast.map.impl.event.EntryEventData)1 ExpiryMetadataImpl (com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadataImpl)1 MapMergeTypes (com.hazelcast.spi.merge.SplitBrainMergeTypes.MapMergeTypes)1 LinkedList (java.util.LinkedList)1