Class GsUtil


  • public class GsUtil
    extends Object
    Author:
    joasah
    • Constructor Detail

      • GsUtil

        public GsUtil()
    • Method Detail

      • convertToAstrixRemoteResults

        @Deprecated
        public static <T> List<com.avanza.astrix.core.AstrixRemoteResult<T>> convertToAstrixRemoteResults​(org.openspaces.remoting.SpaceRemotingResult<T>[] results)
        Deprecated.
      • subscribe

        public static <T> void subscribe​(com.gigaspaces.async.AsyncFuture<T> asyncFuture,
                                         rx.Subscriber<? super T> subscriber,
                                         com.avanza.astrix.beans.async.ContextPropagation contextPropagation)
      • asyncResultListToObservable

        public static <T> rx.functions.Func1<List<com.gigaspaces.async.AsyncResult<T>>,​rx.Observable<T>> asyncResultListToObservable()