put('v', 123); echo $cache->get('v') . "\r\n"; $cache->removeKey('v'); echo $cache->get('v') . "\r\n"; $cache->put('v', 123); echo $cache->get('v') . "\r\n"; // persistence $counter = $cache->get('counter'); if($counter == null) { $counter = 0; } $counter++; echo $counter . "\r\n"; $cache->put('counter', $counter); // list all not supported using thin // listener not supported using thin } use Apache\Ignite\Client; use Apache\Ignite\ClientConfiguration; use Apache\Ignite\Type\ObjectType; $cli = new Client(); $cli->connect(new ClientConfiguration('localhost:10800')); $cache = $cli->getOrCreateCache('functional_cache')->setKeyType(ObjectType::STRING)->setValueType(ObjectType::INTEGER); test($cache); $cli->disconnect(); ?>