@Warmup(global = true) public void warmup() { Streamer<Integer, Long> streamer = StreamerFactory.getInstance(cache); for (int i = 0; i < keyCount; i++) { streamer.pushEntry(i, 0L); } streamer.await(); }
private void initMap() { Streamer<Integer, Pojo> streamer = StreamerFactory.getInstance(map); for (int i = 0; i < itemCount; i++) { Pojo pojo = new Pojo(i); streamer.pushEntry(pojo.id, pojo); } streamer.await(); }
private void loadInitialData() { Streamer<Integer, SillySequence> streamer = StreamerFactory.getInstance(map); for (int i = 0; i < keyCount; i++) { SillySequence sillySequence = new SillySequence(i, nestedValuesCount); streamer.pushEntry(i, sillySequence); } streamer.await(); }