Package com.espertech.esper.client.context

Examples of com.espertech.esper.client.context.ContextPartitionState


    public void visit(int nestingLevel, int pathId, ContextStatePathValueBinding binding, Object payload, ContextController contextController, ContextControllerInstanceHandle instanceHandle) {
        ContextStatePathKey key = new ContextStatePathKey(nestingLevel, pathId, instanceHandle.getSubPathId());
        int agentInstanceId = instanceHandle.getContextPartitionOrPathId();
        states.put(key, new ContextStatePathValue(agentInstanceId, binding.toByteArray(payload), instanceHandle.getInstances().getState()));

        ContextPartitionState state = instanceHandle.getInstances().getState();
        ContextPartitionIdentifier identifier = contextController.getFactory().keyPayloadToIdentifier(payload);
        ContextPartitionDescriptor descriptor = new ContextPartitionDescriptor(agentInstanceId, identifier, state);
        contextPartitionInfo.put(agentInstanceId, descriptor);
    }
View Full Code Here

TOP

Related Classes of com.espertech.esper.client.context.ContextPartitionState

Copyright © 2018 www.massapicom. 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.