Interface Backgroundable<T>

    • Method Detail

      • inBackground

        T inBackground()
        Perform the action in the background
        Returns:
        this
      • inBackground

        T inBackground​(java.lang.Object context)
        Perform the action in the background
        Parameters:
        context - context object - will be available from the event sent to the listener
        Returns:
        this
      • inBackground

        T inBackground​(BackgroundCallback callback)
        Perform the action in the background
        Parameters:
        callback - a functor that will get called when the operation has completed
        Returns:
        this
      • inBackground

        T inBackground​(BackgroundCallback callback,
                       java.lang.Object context)
        Perform the action in the background
        Parameters:
        callback - a functor that will get called when the operation has completed
        context - context object - will be available from the event sent to the listener
        Returns:
        this
      • inBackground

        T inBackground​(BackgroundCallback callback,
                       java.util.concurrent.Executor executor)
        Perform the action in the background
        Parameters:
        callback - a functor that will get called when the operation has completed
        executor - executor to use for the background call
        Returns:
        this
      • inBackground

        T inBackground​(BackgroundCallback callback,
                       java.lang.Object context,
                       java.util.concurrent.Executor executor)
        Perform the action in the background
        Parameters:
        callback - a functor that will get called when the operation has completed
        context - context object - will be available from the event sent to the listener
        executor - executor to use for the background call
        Returns:
        this