Launched new version of the Easy-Cassandra.
In this new version there are two Persistence's client, but these is for many nodes. Both use many client and can do all that Classic Persistence does, but balance the request in many Cassandra's clients.
The PersistenceRandomClient uses in randomly mode and the PersistenceSequencialClient uses in sequential mode.
For use it you need add some host inside EasyCassandraManager and then get it with keyspace.
Bellow the sample:
EasyCassandraManager.getPersistence("anyKeyspace",
"localhost", 9160);
EasyCassandraManager.getPersistence("otherKeyspace",
"node2", 9160);
EasyCassandraManager.getPersistence("3keySpace", "node3",
9160);
PersistenceRandomClient
persistenceRandom=(PersistenceRandomClient)EasyCassandraManager.getPersistenceRandom("javabahiaSingle");
PersistenceSequencialClient
persistenceSequencial=(PersistenceSequencialClient)EasyCassandraManager.getPersistenceSequencial("javabahiaSequencial");
--
Atenciosamente.
Otávio Gonçalves de Santana