Examples of ObjectStoreManager


Examples of org.mule.api.store.ObjectStoreManager

        this.timeoutMessageProcessor = timeoutMessageProcessor;
        this.persistentStores = persistentStores;
        this.storePrefix = storePrefix;
        name = String.format("%s%s.event.correlator", ThreadNameHelper.getPrefix(muleContext),
                             flowConstruct.getName());
        ObjectStoreManager objectStoreManager = muleContext.getRegistry().get(
                MuleProperties.OBJECT_STORE_MANAGER);
        expiredAndDispatchedGroups = (ListableObjectStore<Long>) objectStoreManager.getObjectStore(
                storePrefix + ".expiredAndDispatchedGroups", persistentStores);
        processedGroups = (ListableObjectStore<Long>) objectStoreManager.getObjectStore(storePrefix
                                                                                        + ".processedGroups",
                                                                                        persistentStores, MAX_PROCESSED_GROUPS, -1, 1000);
        eventGroups = (ListableObjectStore<EventGroup>) objectStoreManager.getObjectStore(storePrefix
                                                                                          + ".eventGroups",
                                                                                          persistentStores);
        this.flowConstruct = flowConstruct;
    }
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.