use of org.apache.ignite.spi.eventstorage.memory.MemoryEventStorageSpi in project ignite by apache.
the class GridCachePreloadEventsAbstractSelfTest method getConfiguration.
/**
* {@inheritDoc}
*/
@Override
protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
cfg.setCacheConfiguration(cacheConfiguration());
MemoryEventStorageSpi evtStorageSpi = new MemoryEventStorageSpi();
evtStorageSpi.setExpireCount(50_000);
cfg.setEventStorageSpi(evtStorageSpi);
cfg.setIncludeEventTypes(EventType.EVTS_ALL);
return cfg;
}
Aggregations