ptupitsyn commented on a change in pull request #8174:
URL: https://github.com/apache/ignite/pull/8174#discussion_r492913216



##########
File path: modules/core/src/main/java/org/apache/ignite/client/ClientCache.java
##########
@@ -88,6 +128,17 @@
      */
     public int size(CachePeekMode... peekModes) throws ClientException;
 
+    /**
+     * Gets the number of all entries cached across all nodes. By default, if 
{@code peekModes} value isn't provided,
+     * only size of primary copies across all nodes will be returned. This 
behavior is identical to calling
+     * this method with {@link CachePeekMode#PRIMARY} peek mode.
+     * <p>
+     * NOTE: this operation is distributed and will query all participating 
nodes for their cache sizes.
+     *
+     * @param peekModes Optional peek modes. If not provided, then total cache 
size is returned.

Review comment:
       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.

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


Reply via email to