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


##########
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() {

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



-- 
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