Search in sources :

Example 1 with ExternalizablePojo

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

the class LongExternalizableCacheTest method prepare.

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

Aggregations

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