timoninmaxim commented on code in PR #12198:
URL: https://github.com/apache/ignite/pull/12198#discussion_r2215387124


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEntryInfo.java:
##########
@@ -17,16 +17,13 @@
 
 package org.apache.ignite.internal.processors.cache;
 
-import java.nio.ByteBuffer;
 import org.apache.ignite.IgniteCheckedException;
-import org.apache.ignite.internal.GridDirectTransient;

Review Comment:
   Let's make GridDirectTransient deprecated.



##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEntryInfo.java:
##########
@@ -36,30 +33,34 @@ public class GridCacheEntryInfo implements Message {
     private static final int SIZE_OVERHEAD = 3 * 8 /* reference */ + 4 /* int 
*/ + 2 * 8 /* long */ + 32 /* version */;
 
     /** Cache key. */
+    @Order(0)
     @GridToStringInclude
     private KeyCacheObject key;
 
     /** Cache ID. */
+    @Order(1)
     private int cacheId;
 
     /** Cache value. */
-    private CacheObject val;
+    @Order(2)
+    private CacheObject value;
 
     /** Time to live. */
+    @Order(3)
     private long ttl;
 
     /** Expiration time. */
+    @Order(4)
     private long expireTime;
 
     /** Entry version. */
-    private GridCacheVersion ver;
+    @Order(5)
+    private GridCacheVersion version;

Review Comment:
   Let's try add method name to `@Order` for generation



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to