Class MultiValueDeferred


  • public class MultiValueDeferred
    extends AbstractDeferred
    Concrete implementation of the AbstractDeferred class which permits an array of values to be passed in, for example if representing the result of a multi-out method call.
    • Constructor Detail

      • MultiValueDeferred

        public MultiValueDeferred()
    • Method Detail

      • resolve

        public boolean resolve​(Object... values)
        Deliberately passes the values straight through to the abstract deferred so that they will be resolved as multiple values.
        Overrides:
        resolve in class AbstractDeferred
        Parameters:
        values - the result which resolves the Deferred.
        Returns:
        true if the resolution was successful, false otherwise.