mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 10:54:51 +00:00
Rename
This commit is contained in:
@@ -3,13 +3,13 @@ package org.toop.framework.eventbus;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.toop.framework.eventbus.bus.DisruptorEventBus;
|
||||
import org.toop.framework.eventbus.bus.EventBus;
|
||||
import org.toop.framework.eventbus.holder.AsyncArraySubscriberStore;
|
||||
import org.toop.framework.eventbus.holder.DefaultSubscriberStore;
|
||||
import org.toop.framework.eventbus.subscriber.Subscriber;
|
||||
|
||||
public class GlobalEventBus implements EventBus {
|
||||
private static final EventBus INSTANCE = new DisruptorEventBus(
|
||||
LogManager.getLogger(DisruptorEventBus.class),
|
||||
new AsyncArraySubscriberStore()
|
||||
new DefaultSubscriberStore()
|
||||
);
|
||||
|
||||
private GlobalEventBus() {}
|
||||
|
||||
@@ -4,7 +4,7 @@ import org.toop.framework.eventbus.subscriber.Subscriber;
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
public class AsyncArraySubscriberStore implements SubscriberStore {
|
||||
public class DefaultSubscriberStore implements SubscriberStore {
|
||||
|
||||
private static final Subscriber<?, ?>[] EMPTY = new Subscriber[0];
|
||||
|
||||
Reference in New Issue
Block a user