nizhikov commented on code in PR #11697: URL: https://github.com/apache/ignite/pull/11697#discussion_r1870836549
########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheMetricsSnapshot.java: ########## @@ -17,113 +17,113 @@ package org.apache.ignite.internal.processors.cache; -import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.util.Collection; import org.apache.ignite.cache.CacheMetrics; -import org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream; +import org.apache.ignite.internal.dto.IgniteDataTransferObject; import org.apache.ignite.internal.util.typedef.internal.S; +import org.apache.ignite.internal.util.typedef.internal.U; /** * Metrics snapshot. - * @deprecated Replaced by CacheMetricsSnapshotV2 with versioning support. */ -@Deprecated -public class CacheMetricsSnapshot implements CacheMetrics, Externalizable { - /** */ +public class CacheMetricsSnapshot extends IgniteDataTransferObject implements CacheMetrics { + /** + * Review Comment: Auto format issue. Fixed. -- 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