Hello,

We get the size with below code.

    IgniteConfiguration cfg;
    cfg.springCfgPath = std::string("/home/dsudev/DataBaseConfig.xml");

    /* Start a node to access DataBase */
    Ignite node = Ignition::Start(cfg);
    node.SetActive(true);

    /* Get cache instance */
    mCache = node.GetOrCreateCache<tKey, DBStorage>(CACHE_NAME);

   /*Get size*/
   mcache.size(); ---->This gives us the size or no of records.


   Thank you,
   Ali.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to