All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.coherence.common.internal.continuations.WrapperContinuation Maven / Gradle / Ivy

There is a newer version: 24.03
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.oracle.coherence.common.internal.continuations;

import com.oracle.coherence.common.base.Continuation;


/**
 * WrapperContinuation is a Continuation which simply delegates to another continuation.
 *
 * @author mf  2013.07.02
 */
public class WrapperContinuation
    implements Continuation
    {
    public WrapperContinuation(Continuation delegate)
        {
        f_delegate = delegate;
        }

    @Override
    public void proceed(R result)
        {
        Continuations.proceed(f_delegate, result);
        }

    protected final Continuation f_delegate;
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy