Search in sources :

Example 1 with SerializablePojo

use of com.hazelcast.simulator.hz.SerializablePojo in project hazelcast-simulator by hazelcast.

the class LongSerializableCacheTest method prepare.

@Prepare(global = true)
public void prepare() {
    Streamer<Long, SerializablePojo> streamer = StreamerFactory.getInstance(cache);
    for (long key = 0; key < keyDomain; key++) {
        streamer.pushEntry(key, new SerializablePojo());
    }
    streamer.await();
}
Also used : SerializablePojo(com.hazelcast.simulator.hz.SerializablePojo) Prepare(com.hazelcast.simulator.test.annotations.Prepare)

Aggregations

SerializablePojo (com.hazelcast.simulator.hz.SerializablePojo)1 Prepare (com.hazelcast.simulator.test.annotations.Prepare)1