ch.squaredesk.nova.events.EventBusConfig Maven / Gradle / Ivy
/*
* Copyright (c) Squaredesk GmbH and Oliver Dotzauer.
*
* This program is distributed under the squaredesk open source license. See the LICENSE file
* distributed with this work for additional information regarding copyright ownership. You may also
* obtain a copy of the license at
*
* https://squaredesk.ch/license/oss/LICENSE
*/
package ch.squaredesk.nova.events;
import io.reactivex.BackpressureStrategy;
public class EventBusConfig {
public final BackpressureStrategy defaultBackpressureStrategy;
public final boolean warnOnUnhandledEvents;
public EventBusConfig(BackpressureStrategy backpressureStrategy, boolean warnOnUnhandledEvents) {
this.defaultBackpressureStrategy = backpressureStrategy;
this.warnOnUnhandledEvents = warnOnUnhandledEvents;
}
@Override
public String toString() {
return "EventBusConfig{" +
"defaultBackpressureStrategy=" + defaultBackpressureStrategy +
", warnOnUnhandledEvents=" + warnOnUnhandledEvents +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy