Package com.codebullets.sagalib.messages

Examples of com.codebullets.sagalib.messages.Timeout


    /**
     * Called by timer as timeout expires.
     */
    @Override
    public void run() {
        Timeout timeout = Timeout.create(sagaId, name, clock.now());
        expiredCallback.expired(timeout);
    }
View Full Code Here


        Collection<Saga> sagaInstances = new ArrayList<>();

        if (message instanceof Timeout) {
            // timeout is special. Has only one specific saga state and
            // saga id is already known
            Timeout timeout = (Timeout) message;
            Saga saga = createSagaForTimeoutHandling(timeout);
            if (saga != null) {
                sagaInstances.add(saga);
            }
        } else {
View Full Code Here

TOP

Related Classes of com.codebullets.sagalib.messages.Timeout

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.