Imperative and Reactive @Component public class ApplicationInitializer { ReactiveMongoOperations ops; @PostConstruct public void postConstruct() { ops.remove(Person.class).all().block(); } }
Imperative and Reactive @Component public class ApplicationInitializer { ReactiveMongoOperations ops; @PostConstruct public void postConstruct() { ops.remove(Person.class).all().block(); } }
Event Loop Process next item Callback Register Callback Return Work Database Computation File I/O Event Loop (single Thread) Work Queue Work Request Callback