shishkovilja commented on code in PR #12436:
URL: https://github.com/apache/ignite/pull/12436#discussion_r2498155386


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicSingleUpdateRequest.java:
##########
@@ -254,13 +284,41 @@ private void near(boolean near) {
         return near() ? null : val;
     }
 
+    /**
+     * @return Cache object value.
+     */
+    public CacheObject value() {
+        return val;
+    }
+
+    /**
+     * @param val Cache object value to update.
+     */
+    public void value(CacheObject val) {
+        this.val = val;
+    }
+
     /** {@inheritDoc} */
     @Override @Nullable public CacheObject previousValue(int idx) {
         assert idx == 0 : idx;
 
         return prevVal;
     }
 
+    /**
+     * @return Previous value.
+     */
+    public CacheObject prevValue() {
+        return prevVal;
+    }
+
+    /**
+     * @param prevVal New previous value.
+     */
+    public void prevValue(CacheObject prevVal) {

Review Comment:
   ```suggestion
       public void previousValue(CacheObject prevVal) {
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to