broker/MapDBPersistentStore: Interfaces used for the Constructors

broker/IStore: Interface added for MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: class loader for store added
broker/ISessionsStore#mapToGuid: moved to IMessagesStore
broker/ProtocolProcessorBootstrapper: getter used for SessionStore
broker/Server: getter for processor added
broker/ProtocolProcessor: getter added for Stores
This commit is contained in:
Andreas Mager
2017-03-20 13:04:14 +01:00
parent ec6ec09cee
commit 63d2f2dd69
20 changed files with 124 additions and 64 deletions
@@ -20,7 +20,6 @@ public class PerformanceTest {
public static void main(String[] args) throws IOException, InterruptedException {
SubscriptionsStore store = new SubscriptionsStore();
MemoryStorageService memStore = new MemoryStorageService();
memStore.initStore();
ISessionsStore aSessionsStore = memStore.sessionsStore();
store.init(aSessionsStore);