use of org.ff4j.cassandra.store.EventRepositoryCassandra in project ff4j by ff4j.
the class EventRepositoryCassandraTest method initRepository.
/**
* {@inheritDoc}
*/
@Override
protected EventRepository initRepository() {
EventRepository cassandraStore = new EventRepositoryCassandra(conn);
cassandraStore.createSchema();
return cassandraStore;
}
use of org.ff4j.cassandra.store.EventRepositoryCassandra in project ff4j by ff4j.
the class EventRepositoryCassandraTest method testCustom.
@Test
public void testCustom() {
EventRepositoryCassandra repoCassandra = (EventRepositoryCassandra) ff4j.getEventRepository();
repoCassandra.setTtl(repoCassandra.getTtl());
repoCassandra.setConn(repoCassandra.getConn());
repoCassandra.setBuilder(repoCassandra.getBuilder());
new EventRepositoryCassandra();
}
Aggregations