Examples of snapshotEventCollection()


Examples of org.axonframework.eventstore.mongo.DefaultMongoTemplate.snapshotEventCollection()

    @Override
    protected void prepareEventStore() {
        DefaultMongoTemplate mongoTemplate = new DefaultMongoTemplate(mongoDb);
        mongoTemplate.domainEventCollection().getDB().dropDatabase();
        mongoTemplate.snapshotEventCollection().getDB().dropDatabase();
    }

    private class MongoBenchmark implements Runnable {

        @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.