Class CompletableFuture
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class CompletableFuture : JVMBridgeBase<CompletableFuture>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<CompletableFuture>CompletableFuture
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<CompletableFuture>.IsAssignableFrom(IJavaType)JVMBridgeBase<CompletableFuture>.IsAssignableFrom<T>()JVMBridgeBase<CompletableFuture>.Execute<T>(params T[])JVMBridgeBase<CompletableFuture>.DynBridgeClazzJVMBridgeBase<CompletableFuture>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
CompletableFuture()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public CompletableFuture()
CompletableFuture(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
public CompletableFuture(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
NumberOfDependents
public int NumberOfDependents { get; }
Property Value
Methods
AcceptEither(CompletionStage, Consumer)
public CompletionStage AcceptEither(CompletionStage arg0, Consumer arg1)
Parameters
arg0
CompletionStagearg1
Consumer
Returns
AcceptEitherAsync(CompletionStage, Consumer)
public CompletionStage AcceptEitherAsync(CompletionStage arg0, Consumer arg1)
Parameters
arg0
CompletionStagearg1
Consumer
Returns
AcceptEitherAsync(CompletionStage, Consumer, Executor)
public CompletionStage AcceptEitherAsync(CompletionStage arg0, Consumer arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
Consumerarg2
Executor
Returns
AllOf(params CompletableFuture[])
public static CompletableFuture AllOf(params CompletableFuture[] arg0)
Parameters
Returns
AnyOfMethod(params CompletableFuture[])
public static CompletableFuture AnyOfMethod(params CompletableFuture[] arg0)
Parameters
Returns
ApplyToEither(CompletionStage, Function)
public CompletionStage ApplyToEither(CompletionStage arg0, Function arg1)
Parameters
arg0
CompletionStagearg1
Function
Returns
ApplyToEitherAsync(CompletionStage, Function)
public CompletionStage ApplyToEitherAsync(CompletionStage arg0, Function arg1)
Parameters
arg0
CompletionStagearg1
Function
Returns
ApplyToEitherAsync(CompletionStage, Function, Executor)
public CompletionStage ApplyToEitherAsync(CompletionStage arg0, Function arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
Functionarg2
Executor
Returns
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
Complete(object)
public bool Complete(object arg0)
Parameters
Returns
CompleteAsync(Supplier)
public CompletableFuture CompleteAsync(Supplier arg0)
Parameters
Returns
CompleteAsync(Supplier, Executor)
public CompletableFuture CompleteAsync(Supplier arg0, Executor arg1)
Parameters
Returns
CompleteExceptionally(JVMBridgeException)
public bool CompleteExceptionally(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Returns
CompleteOnTimeout(object, long, TimeUnit)
public CompletableFuture CompleteOnTimeout(object arg0, long arg1, TimeUnit arg2)
Parameters
Returns
CompletedFuture(object)
public static CompletableFuture CompletedFuture(object arg0)
Parameters
Returns
CompletedStage(object)
public static CompletionStage CompletedStage(object arg0)
Parameters
Returns
Copy()
public CompletableFuture Copy()
Returns
DefaultExecutor()
public Executor DefaultExecutor()
Returns
DelayedExecutorMethod(long, TimeUnit)
public static Executor DelayedExecutorMethod(long arg0, TimeUnit arg1)
Parameters
Returns
DelayedExecutorMethod(long, TimeUnit, Executor)
public static Executor DelayedExecutorMethod(long arg0, TimeUnit arg1, Executor arg2)
Parameters
Returns
Exceptionally(Function)
public CompletionStage Exceptionally(Function arg0)
Parameters
Returns
FailedFuture(JVMBridgeException)
public static CompletableFuture FailedFuture(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Returns
FailedStage(JVMBridgeException)
public static CompletionStage FailedStage(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Returns
Get()
public object Get()
Returns
Exceptions
Get(long, TimeUnit)
public object Get(long arg0, TimeUnit arg1)
Parameters
Returns
Exceptions
GetNow(object)
public object GetNow(object arg0)
Parameters
Returns
Handle(BiFunction)
public CompletionStage Handle(BiFunction arg0)
Parameters
arg0
BiFunction
Returns
HandleAsync(BiFunction)
public CompletionStage HandleAsync(BiFunction arg0)
Parameters
arg0
BiFunction
Returns
HandleAsync(BiFunction, Executor)
public CompletionStage HandleAsync(BiFunction arg0, Executor arg1)
Parameters
arg0
BiFunctionarg1
Executor
Returns
IsCancelled()
public bool IsCancelled()
Returns
IsCompletedExceptionally()
public bool IsCompletedExceptionally()
Returns
IsDone()
public bool IsDone()
Returns
Join()
public object Join()
Returns
MinimalCompletionStage()
public CompletionStage MinimalCompletionStage()
Returns
NewIncompleteFuture()
public CompletableFuture NewIncompleteFuture()
Returns
ObtrudeException(JVMBridgeException)
public void ObtrudeException(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
ObtrudeValue(object)
public void ObtrudeValue(object arg0)
Parameters
OrTimeout(long, TimeUnit)
public CompletableFuture OrTimeout(long arg0, TimeUnit arg1)
Parameters
Returns
RunAfterBoth(CompletionStage, Runnable)
public CompletionStage RunAfterBoth(CompletionStage arg0, Runnable arg1)
Parameters
arg0
CompletionStagearg1
Runnable
Returns
RunAfterBothAsync(CompletionStage, Runnable)
public CompletionStage RunAfterBothAsync(CompletionStage arg0, Runnable arg1)
Parameters
arg0
CompletionStagearg1
Runnable
Returns
RunAfterBothAsync(CompletionStage, Runnable, Executor)
public CompletionStage RunAfterBothAsync(CompletionStage arg0, Runnable arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
Runnablearg2
Executor
Returns
RunAfterEither(CompletionStage, Runnable)
public CompletionStage RunAfterEither(CompletionStage arg0, Runnable arg1)
Parameters
arg0
CompletionStagearg1
Runnable
Returns
RunAfterEitherAsync(CompletionStage, Runnable)
public CompletionStage RunAfterEitherAsync(CompletionStage arg0, Runnable arg1)
Parameters
arg0
CompletionStagearg1
Runnable
Returns
RunAfterEitherAsync(CompletionStage, Runnable, Executor)
public CompletionStage RunAfterEitherAsync(CompletionStage arg0, Runnable arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
Runnablearg2
Executor
Returns
RunAsync(Runnable)
public static CompletableFuture RunAsync(Runnable arg0)
Parameters
Returns
RunAsync(Runnable, Executor)
public static CompletableFuture RunAsync(Runnable arg0, Executor arg1)
Parameters
Returns
SupplyAsync(Supplier)
public static CompletableFuture SupplyAsync(Supplier arg0)
Parameters
Returns
SupplyAsync(Supplier, Executor)
public static CompletableFuture SupplyAsync(Supplier arg0, Executor arg1)
Parameters
Returns
ThenAccept(Consumer)
public CompletionStage ThenAccept(Consumer arg0)
Parameters
Returns
ThenAcceptAsync(Consumer)
public CompletionStage ThenAcceptAsync(Consumer arg0)
Parameters
Returns
ThenAcceptAsync(Consumer, Executor)
public CompletionStage ThenAcceptAsync(Consumer arg0, Executor arg1)
Parameters
Returns
ThenAcceptBoth(CompletionStage, BiConsumer)
public CompletionStage ThenAcceptBoth(CompletionStage arg0, BiConsumer arg1)
Parameters
arg0
CompletionStagearg1
BiConsumer
Returns
ThenAcceptBothAsync(CompletionStage, BiConsumer)
public CompletionStage ThenAcceptBothAsync(CompletionStage arg0, BiConsumer arg1)
Parameters
arg0
CompletionStagearg1
BiConsumer
Returns
ThenAcceptBothAsync(CompletionStage, BiConsumer, Executor)
public CompletionStage ThenAcceptBothAsync(CompletionStage arg0, BiConsumer arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
BiConsumerarg2
Executor
Returns
ThenApply(Function)
public CompletionStage ThenApply(Function arg0)
Parameters
Returns
ThenApplyAsync(Function)
public CompletionStage ThenApplyAsync(Function arg0)
Parameters
Returns
ThenApplyAsync(Function, Executor)
public CompletionStage ThenApplyAsync(Function arg0, Executor arg1)
Parameters
Returns
ThenCombine(CompletionStage, BiFunction)
public CompletionStage ThenCombine(CompletionStage arg0, BiFunction arg1)
Parameters
arg0
CompletionStagearg1
BiFunction
Returns
ThenCombineAsync(CompletionStage, BiFunction)
public CompletionStage ThenCombineAsync(CompletionStage arg0, BiFunction arg1)
Parameters
arg0
CompletionStagearg1
BiFunction
Returns
ThenCombineAsync(CompletionStage, BiFunction, Executor)
public CompletionStage ThenCombineAsync(CompletionStage arg0, BiFunction arg1, Executor arg2)
Parameters
arg0
CompletionStagearg1
BiFunctionarg2
Executor
Returns
ThenCompose(Function)
public CompletionStage ThenCompose(Function arg0)
Parameters
Returns
ThenComposeAsync(Function)
public CompletionStage ThenComposeAsync(Function arg0)
Parameters
Returns
ThenComposeAsync(Function, Executor)
public CompletionStage ThenComposeAsync(Function arg0, Executor arg1)
Parameters
Returns
ThenRun(Runnable)
public CompletionStage ThenRun(Runnable arg0)
Parameters
Returns
ThenRunAsync(Runnable)
public CompletionStage ThenRunAsync(Runnable arg0)
Parameters
Returns
ThenRunAsync(Runnable, Executor)
public CompletionStage ThenRunAsync(Runnable arg0, Executor arg1)
Parameters
Returns
ToCompletableFuture()
public CompletableFuture ToCompletableFuture()
Returns
WhenComplete(BiConsumer)
public CompletionStage WhenComplete(BiConsumer arg0)
Parameters
arg0
BiConsumer
Returns
WhenCompleteAsync(BiConsumer)
public CompletionStage WhenCompleteAsync(BiConsumer arg0)
Parameters
arg0
BiConsumer
Returns
WhenCompleteAsync(BiConsumer, Executor)
public CompletionStage WhenCompleteAsync(BiConsumer arg0, Executor arg1)
Parameters
arg0
BiConsumerarg1
Executor
Returns
Operators
implicit operator CompletionStage(CompletableFuture)
Converter from CompletableFuture to CompletionStage
public static implicit operator CompletionStage(CompletableFuture t)
Parameters
Returns
implicit operator Future(CompletableFuture)
Converter from CompletableFuture to Future
public static implicit operator Future(CompletableFuture t)