Table of Contents

Class CompletionStage<T>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class CompletionStage<T> : JVMBridgeBase<CompletionStage<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICompletionStage<T>

Type Parameters

T
Inheritance
JVMBridgeBase
JVMBridgeBase<CompletionStage<T>>
CompletionStage<T>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<CompletionStage<T>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<CompletionStage<T>>.IsAssignableFrom<T>()
JVMBridgeBase<CompletionStage<T>>.Execute<T>(params T[])
JVMBridgeBase<CompletionStage<T>>.DynBridgeClazz
JVMBridgeBase<CompletionStage<T>>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

CompletionStage()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("CompletionStage class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CompletionStage()

CompletionStage(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("CompletionStage class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CompletionStage(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AcceptEitherAsync<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Consumer<Arg1objectSuperT>)

public CompletionStage<Void> AcceptEitherAsync<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Consumer<Arg1objectSuperT> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Consumer<Arg1objectSuperT>

Consumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsT

T

Arg1objectSuperT

T

AcceptEitherAsync<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Consumer<Arg1objectSuperT>, Executor)

public CompletionStage<Void> AcceptEitherAsync<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Consumer<Arg1objectSuperT> arg1, Executor arg2) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Consumer<Arg1objectSuperT>

Consumer

arg2 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsT

T

Arg1objectSuperT

T

AcceptEither<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Consumer<Arg1objectSuperT>)

public CompletionStage<Void> AcceptEither<Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Consumer<Arg1objectSuperT> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Consumer<Arg1objectSuperT>

Consumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsT

T

Arg1objectSuperT

T

ApplyToEitherAsync<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Function<Arg1objectSuperT, U>)

public CompletionStage<U> ApplyToEitherAsync<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Function<Arg1objectSuperT, U> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Function<Arg1objectSuperT, U>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0ExtendsT

T

Arg1objectSuperT

T

ApplyToEitherAsync<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Function<Arg1objectSuperT, U>, Executor)

public CompletionStage<U> ApplyToEitherAsync<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Function<Arg1objectSuperT, U> arg1, Executor arg2) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Function<Arg1objectSuperT, U>

Function

arg2 Executor

Executor

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0ExtendsT

T

Arg1objectSuperT

T

ApplyToEither<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT>, Function<Arg1objectSuperT, U>)

public CompletionStage<U> ApplyToEither<U, Arg0ExtendsT, Arg1objectSuperT>(CompletionStage<Arg0ExtendsT> arg0, Function<Arg1objectSuperT, U> arg1) where Arg0ExtendsT : T where Arg1objectSuperT : T

Parameters

arg0 CompletionStage<Arg0ExtendsT>

CompletionStage

arg1 Function<Arg1objectSuperT, U>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0ExtendsT

T

Arg1objectSuperT

T

Exceptionally<Arg0ExtendsT>(Function<Throwable, Arg0ExtendsT>)

public CompletionStage<T> Exceptionally<Arg0ExtendsT>(Function<Throwable, Arg0ExtendsT> arg0) where Arg0ExtendsT : T

Parameters

arg0 Function<Throwable, Arg0ExtendsT>

Function

Returns

CompletionStage<T>

CompletionStage

Type Parameters

Arg0ExtendsT

T

HandleAsync<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>)

public CompletionStage<U> HandleAsync<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU> arg0) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>

BiFunction

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

HandleAsync<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>, Executor)

public CompletionStage<U> HandleAsync<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU> arg0, Executor arg1) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>

BiFunction

arg1 Executor

Executor

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

Handle<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>)

public CompletionStage<U> Handle<U, Arg0objectSuperT, Arg0ExtendsU>(BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU> arg0) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 BiFunction<Arg0objectSuperT, Throwable, Arg0ExtendsU>

BiFunction

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

RunAfterBoth(CompletionStage<object>, Runnable)

public CompletionStage<Void> RunAfterBoth(CompletionStage<object> arg0, Runnable arg1)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

RunAfterBothAsync(CompletionStage<object>, Runnable)

public CompletionStage<Void> RunAfterBothAsync(CompletionStage<object> arg0, Runnable arg1)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

RunAfterBothAsync(CompletionStage<object>, Runnable, Executor)

public CompletionStage<Void> RunAfterBothAsync(CompletionStage<object> arg0, Runnable arg1, Executor arg2)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

arg2 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

RunAfterEither(CompletionStage<object>, Runnable)

public CompletionStage<Void> RunAfterEither(CompletionStage<object> arg0, Runnable arg1)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

RunAfterEitherAsync(CompletionStage<object>, Runnable)

public CompletionStage<Void> RunAfterEitherAsync(CompletionStage<object> arg0, Runnable arg1)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

RunAfterEitherAsync(CompletionStage<object>, Runnable, Executor)

public CompletionStage<Void> RunAfterEitherAsync(CompletionStage<object> arg0, Runnable arg1, Executor arg2)

Parameters

arg0 CompletionStage<object>

CompletionStage

arg1 Runnable

Runnable

arg2 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

ThenAcceptAsync<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)

public CompletionStage<Void> ThenAcceptAsync<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0objectSuperT

T

ThenAcceptAsync<Arg0objectSuperT>(Consumer<Arg0objectSuperT>, Executor)

public CompletionStage<Void> ThenAcceptAsync<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0, Executor arg1) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

arg1 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0objectSuperT

T

ThenAcceptBothAsync<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU>, BiConsumer<Arg1objectSuperT, Arg1objectSuperU>)

public CompletionStage<Void> ThenAcceptBothAsync<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU> arg0, BiConsumer<Arg1objectSuperT, Arg1objectSuperU> arg1) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiConsumer<Arg1objectSuperT, Arg1objectSuperU>

BiConsumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

ThenAcceptBothAsync<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU>, BiConsumer<Arg1objectSuperT, Arg1objectSuperU>, Executor)

public CompletionStage<Void> ThenAcceptBothAsync<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU> arg0, BiConsumer<Arg1objectSuperT, Arg1objectSuperU> arg1, Executor arg2) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiConsumer<Arg1objectSuperT, Arg1objectSuperU>

BiConsumer

arg2 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

ThenAcceptBoth<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU>, BiConsumer<Arg1objectSuperT, Arg1objectSuperU>)

public CompletionStage<Void> ThenAcceptBoth<Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU>(CompletionStage<Arg0ExtendsU> arg0, BiConsumer<Arg1objectSuperT, Arg1objectSuperU> arg1) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiConsumer<Arg1objectSuperT, Arg1objectSuperU>

BiConsumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

ThenAccept<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)

public CompletionStage<Void> ThenAccept<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

Returns

CompletionStage<Void>

CompletionStage

Type Parameters

Arg0objectSuperT

T

ThenApplyAsync<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU>)

public CompletionStage<U> ThenApplyAsync<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU> arg0) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsU>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

ThenApplyAsync<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU>, Executor)

public CompletionStage<U> ThenApplyAsync<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU> arg0, Executor arg1) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsU>

Function

arg1 Executor

Executor

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

ThenApply<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU>)

public CompletionStage<U> ThenApply<U, Arg0objectSuperT, Arg0ExtendsU>(Function<Arg0objectSuperT, Arg0ExtendsU> arg0) where Arg0objectSuperT : T where Arg0ExtendsU : U

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsU>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsU

U

ThenCombineAsync<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU>, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>)

public CompletionStage<V> ThenCombineAsync<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU> arg0, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV> arg1) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U where Arg1ExtendsV : V

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>

BiFunction

Returns

CompletionStage<V>

CompletionStage

Type Parameters

V
Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

Arg1ExtendsV

V

ThenCombineAsync<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU>, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>, Executor)

public CompletionStage<V> ThenCombineAsync<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU> arg0, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV> arg1, Executor arg2) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U where Arg1ExtendsV : V

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>

BiFunction

arg2 Executor

Executor

Returns

CompletionStage<V>

CompletionStage

Type Parameters

V
Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

Arg1ExtendsV

V

ThenCombine<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU>, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>)

public CompletionStage<V> ThenCombine<V, Arg0ExtendsU, U, Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>(CompletionStage<Arg0ExtendsU> arg0, BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV> arg1) where Arg0ExtendsU : U where Arg1objectSuperT : T where Arg1objectSuperU : U where Arg1ExtendsV : V

Parameters

arg0 CompletionStage<Arg0ExtendsU>

CompletionStage

arg1 BiFunction<Arg1objectSuperT, Arg1objectSuperU, Arg1ExtendsV>

BiFunction

Returns

CompletionStage<V>

CompletionStage

Type Parameters

V
Arg0ExtendsU

U

U
Arg1objectSuperT

T

Arg1objectSuperU

U

Arg1ExtendsV

V

ThenComposeAsync<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>)

public CompletionStage<U> ThenComposeAsync<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_ : CompletionStage<U>

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_

CompletionStage<T>

ThenComposeAsync<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>, Executor)

public CompletionStage<U> ThenComposeAsync<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_> arg0, Executor arg1) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_ : CompletionStage<U>

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>

Function

arg1 Executor

Executor

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_

CompletionStage<T>

ThenCompose<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>)

public CompletionStage<U> ThenCompose<U, Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_ : CompletionStage<U>

Parameters

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_>

Function

Returns

CompletionStage<U>

CompletionStage

Type Parameters

U
Arg0objectSuperT

T

Arg0ExtendsJava_Util_Concurrent_CompletionStage_U_

CompletionStage<T>

ThenRun(Runnable)

public CompletionStage<Void> ThenRun(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

ThenRunAsync(Runnable)

public CompletionStage<Void> ThenRunAsync(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Returns

CompletionStage<Void>

CompletionStage

ThenRunAsync(Runnable, Executor)

public CompletionStage<Void> ThenRunAsync(Runnable arg0, Executor arg1)

Parameters

arg0 Runnable

Runnable

arg1 Executor

Executor

Returns

CompletionStage<Void>

CompletionStage

ToCompletableFuture()

public CompletableFuture<T> ToCompletableFuture()

Returns

CompletableFuture<T>

CompletableFuture

WhenCompleteAsync<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>)

public CompletionStage<T> WhenCompleteAsync<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable> arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Lang_Throwable : Throwable

Parameters

arg0 BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>

BiConsumer

Returns

CompletionStage<T>

CompletionStage

Type Parameters

Arg0objectSuperT

T

Arg0objectSuperJava_Lang_Throwable

Throwable

WhenCompleteAsync<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>, Executor)

public CompletionStage<T> WhenCompleteAsync<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable> arg0, Executor arg1) where Arg0objectSuperT : T where Arg0objectSuperJava_Lang_Throwable : Throwable

Parameters

arg0 BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>

BiConsumer

arg1 Executor

Executor

Returns

CompletionStage<T>

CompletionStage

Type Parameters

Arg0objectSuperT

T

Arg0objectSuperJava_Lang_Throwable

Throwable

WhenComplete<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>)

public CompletionStage<T> WhenComplete<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable> arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Lang_Throwable : Throwable

Parameters

arg0 BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>

BiConsumer

Returns

CompletionStage<T>

CompletionStage

Type Parameters

Arg0objectSuperT

T

Arg0objectSuperJava_Lang_Throwable

Throwable

Operators

implicit operator CompletionStage(CompletionStage<T>)

public static implicit operator CompletionStage(CompletionStage<T> t)

Parameters

t CompletionStage<T>

Returns

CompletionStage