public EntryOperator operateOnKeyValue(Data dataKey, Object oldValue) { return operateOnKeyValueInternal(dataKey, oldValue, null); }
public EntryOperator operateOnKeyValue(Data dataKey, Object oldValue) { return operateOnKeyValueInternal(dataKey, oldValue, null); }
public EntryOperator operateOnKey(Data dataKey) { init(dataKey, null, null, null, null); if (belongsAnotherPartition(dataKey)) { return this; } oldValue = recordStore.get(dataKey, backup, callerAddress); // predicated entry processors can only be applied to existing entries // so if we have a predicate and somehow(due to expiration or split-brain healing) // we found value null, we should skip that entry. if (predicate != null && oldValue == null) { return this; } Boolean locked = recordStore.isLocked(dataKey); return operateOnKeyValueInternal(dataKey, clonedOrRawOldValue(), locked); }
public EntryOperator operateOnKey(Data dataKey) { init(dataKey, null, null, null, null); if (belongsAnotherPartition(dataKey)) { return this; } oldValue = recordStore.get(dataKey, backup, callerAddress); // predicated entry processors can only be applied to existing entries // so if we have a predicate and somehow(due to expiration or split-brain healing) // we found value null, we should skip that entry. if (predicate != null && oldValue == null) { return this; } Boolean locked = recordStore.isLocked(dataKey); return operateOnKeyValueInternal(dataKey, clonedOrRawOldValue(), locked); }