Search in sources :

Example 1 with ComplexDomainObject

use of com.hazelcast.simulator.tests.map.helpers.ComplexDomainObject in project hazelcast-simulator by hazelcast.

the class MapComplexPredicateTest method prepare.

@Prepare(global = true)
public void prepare() {
    Streamer<String, ComplexDomainObject> streamer = StreamerFactory.getInstance(map);
    for (int i = 0; i < mapSize; i++) {
        ComplexDomainObject value = createQuickSearchObject(i);
        String key = value.getQuickSearchKey();
        streamer.pushEntry(key, value);
    }
    streamer.await();
}
Also used : ComplexDomainObject(com.hazelcast.simulator.tests.map.helpers.ComplexDomainObject) Prepare(com.hazelcast.simulator.test.annotations.Prepare)

Aggregations

Prepare (com.hazelcast.simulator.test.annotations.Prepare)1 ComplexDomainObject (com.hazelcast.simulator.tests.map.helpers.ComplexDomainObject)1