class NameableCompletableFuture[T] extends NameableCompletionStage[T]
Naming API for CompletableFuture (Java 11).
Note: NameableCompletableFuture wrapper is NOT a CompletableFuture, but extends
NameableCompletionStage for fluent naming API. Use getUnderlying
or
toCompletableFuture
to get a CompletableFuture again.
- Alphabetic
- By Inheritance
- NameableCompletableFuture
- NameableCompletionStage
- CompletionStage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NameableCompletableFuture(underlying: CompletableFuture[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acceptEither(other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.acceptEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.acceptEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.acceptEither
- action
the action for
CompletionStage.acceptEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def acceptEitherAsync(other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.acceptEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.acceptEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.acceptEitherAsync
- action
the action for
CompletionStage.acceptEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def acceptEitherAsync(other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.acceptEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.acceptEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.acceptEitherAsync
- action
the action for
CompletionStage.acceptEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def acceptEitherAsyncNamed(name: String, other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.acceptEitherAsync
.Named version of
CompletionStage.acceptEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.acceptEitherAsync
- action
the action for
CompletionStage.acceptEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def acceptEitherAsyncNamed(name: String, other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.acceptEitherAsync
.Named version of
CompletionStage.acceptEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.acceptEitherAsync
- action
the action for
CompletionStage.acceptEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def acceptEitherNamed(name: String, other: CompletionStage[_ <: T], action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.acceptEither
.Named version of
CompletionStage.acceptEither
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.acceptEither
- action
the action for
CompletionStage.acceptEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def applyToEither[U](other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U]): NameableCompletionStage[U]
Original version of
CompletionStage.applyToEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.applyToEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.applyToEither
- fn
the function for
CompletionStage.applyToEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def applyToEitherAsync[U](other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U], executor: Executor): NameableCompletionStage[U]
Original version of
CompletionStage.applyToEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.applyToEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.applyToEitherAsync
- fn
the function for
CompletionStage.applyToEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def applyToEitherAsync[U](other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U]): NameableCompletionStage[U]
Original version of
CompletionStage.applyToEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.applyToEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.applyToEitherAsync
- fn
the function for
CompletionStage.applyToEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def applyToEitherAsyncNamed[U](name: String, other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U], executor: Executor): NameableCompletionStage[U]
Named version of
CompletionStage.applyToEitherAsync
.Named version of
CompletionStage.applyToEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.applyToEitherAsync
- fn
the function for
CompletionStage.applyToEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def applyToEitherAsyncNamed[U](name: String, other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U]): NameableCompletionStage[U]
Named version of
CompletionStage.applyToEitherAsync
.Named version of
CompletionStage.applyToEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.applyToEitherAsync
- fn
the function for
CompletionStage.applyToEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def applyToEitherNamed[U](name: String, other: CompletionStage[_ <: T], fn: Function[_ >: T <: AnyRef, U]): NameableCompletionStage[U]
Named version of
CompletionStage.applyToEither
.Named version of
CompletionStage.applyToEither
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.applyToEither
- fn
the function for
CompletionStage.applyToEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(): NameableCompletableFuture[T]
Original version of
CompletableFuture.copy
, but returns a NameableCompletableFuture where subsequent method calls can use named variations.Original version of
CompletableFuture.copy
, but returns a NameableCompletableFuture where subsequent method calls can use named variations.- returns
the new (unnamed) copied CompletableFuture
- def copyNamed(name: String): NameableCompletableFuture[T]
Named version of
CompletableFuture.copy
.Named version of
CompletableFuture.copy
.- returns
the new (named) copied CompletableFuture
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exceptionally(fn: Function[Throwable, _ <: T]): NameableCompletionStage[T]
Original version of
CompletionStage.exceptionally
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.exceptionally
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.exceptionally
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def exceptionallyAsync(arg0: Function[Throwable, _ <: T], arg1: Executor): CompletionStage[T]
- Definition Classes
- CompletionStage
- def exceptionallyAsync(arg0: Function[Throwable, _ <: T]): CompletionStage[T]
- Definition Classes
- CompletionStage
- def exceptionallyCompose(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
- Definition Classes
- CompletionStage
- def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]], arg1: Executor): CompletionStage[T]
- Definition Classes
- CompletionStage
- def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
- Definition Classes
- CompletionStage
- def exceptionallyNamed(name: String, fn: Function[Throwable, _ <: T]): NameableCompletionStage[T]
Named version of
CompletionStage.exceptionally
.Named version of
CompletionStage.exceptionally
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.exceptionally
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getUnderlying(): CompletableFuture[T]
Return the underlying CompletableFuture wrapped by this NameableCompletableFuture.
Return the underlying CompletableFuture wrapped by this NameableCompletableFuture.
- returns
the underlying CompletableFuture
- Definition Classes
- NameableCompletableFuture → NameableCompletionStage
- Annotations
- @Override()
- def handle[U](fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U]): NameableCompletionStage[U]
Original version of
CompletionStage.handle
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.handle
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.handle
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def handleAsync[U](fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U], executor: Executor): NameableCompletionStage[U]
Original version of
CompletionStage.handleAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.handleAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.handleAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def handleAsync[U](fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U]): NameableCompletionStage[U]
Original version of
CompletionStage.handleAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.handleAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.handleAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def handleAsyncNamed[U](name: String, fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U], executor: Executor): NameableCompletionStage[U]
Named version of
CompletionStage.handleAsync
.Named version of
CompletionStage.handleAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.handleAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def handleAsyncNamed[U](name: String, fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U]): NameableCompletionStage[U]
Named version of
CompletionStage.handleAsync
.Named version of
CompletionStage.handleAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.handleAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def handleNamed[U](name: String, fn: BiFunction[_ >: T <: AnyRef, Throwable, _ <: U]): NameableCompletionStage[U]
Named version of
CompletionStage.handle
.Named version of
CompletionStage.handle
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.handle
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def minimalCompletionStage(): NameableCompletionStage[T]
Original version of
CompletableFuture.minimalCompletionStage
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletableFuture.minimalCompletionStage
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- returns
the new (unnamed) copied CompletableFuture
- def minimalCompletionStageNamed(name: String): NameableCompletionStage[T]
Named version of
CompletableFuture.minimalCompletionStage
.Named version of
CompletableFuture.minimalCompletionStage
.- returns
the new (named) copied CompletableFuture
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newIncompleteFuture[U](): NameableCompletableFuture[U]
Original version of
CompletableFuture.newIncompleteFuture
, but returns a NameableCompletableFuture where subsequent method calls can use named variations.Original version of
CompletableFuture.newIncompleteFuture
, but returns a NameableCompletableFuture where subsequent method calls can use named variations.- returns
the new (unnamed) incomplete CompletableFuture
- def newIncompleteFutureNamed[U](name: String): NameableCompletableFuture[U]
Named version of
CompletableFuture.newIncompleteFuture
.Named version of
CompletableFuture.newIncompleteFuture
.- returns
the new (named) incomplete CompletableFuture
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def runAfterBoth(other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterBoth
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterBoth
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterBoth
- action
the action for
CompletionStage.runAfterBoth
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterBothAsync(other: CompletionStage[_ <: AnyRef], action: Runnable, executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterBothAsync
- action
the action for
CompletionStage.runAfterBothAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterBothAsync(other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterBothAsync
- action
the action for
CompletionStage.runAfterBothAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterBothAsyncNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable, executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterBothAsync
.Named version of
CompletionStage.runAfterBothAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterBothAsync
- action
the action for
CompletionStage.runAfterBothAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def runAfterBothAsyncNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterBothAsync
.Named version of
CompletionStage.runAfterBothAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterBothAsync
- action
the action for
CompletionStage.runAfterBothAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def runAfterBothNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterBoth
.Named version of
CompletionStage.runAfterBoth
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterBoth
- action
the action for
CompletionStage.runAfterBoth
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def runAfterEither(other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterEither
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterEither
- action
the action for
CompletionStage.runAfterEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterEitherAsync(other: CompletionStage[_ <: AnyRef], action: Runnable, executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterEitherAsync
- action
the action for
CompletionStage.runAfterEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterEitherAsync(other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.runAfterEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.runAfterEitherAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.runAfterEitherAsync
- action
the action for
CompletionStage.runAfterEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def runAfterEitherAsyncNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable, executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterEitherAsync
.Named version of
CompletionStage.runAfterEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterEitherAsync
- action
the action for
CompletionStage.runAfterEitherAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def runAfterEitherAsyncNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterEitherAsync
.Named version of
CompletionStage.runAfterEitherAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterEitherAsync
- action
the action for
CompletionStage.runAfterEitherAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def runAfterEitherNamed(name: String, other: CompletionStage[_ <: AnyRef], action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.runAfterEither
.Named version of
CompletionStage.runAfterEither
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.runAfterEither
- action
the action for
CompletionStage.runAfterEither
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def thenAccept(action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAccept
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAccept
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenAccept
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptAsync(action: Consumer[_ >: T <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAcceptAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAcceptAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenAcceptAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptAsync(action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAcceptAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAcceptAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenAcceptAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptAsyncNamed(name: String, action: Consumer[_ >: T <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAcceptAsync
.Named version of
CompletionStage.thenAcceptAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenAcceptAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenAcceptAsyncNamed(name: String, action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAcceptAsync
.Named version of
CompletionStage.thenAcceptAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenAcceptAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenAcceptBoth[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAcceptBoth
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAcceptBoth
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenAcceptBoth
- action
the action for
CompletionStage.thenAcceptBoth
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptBothAsync[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAcceptBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAcceptBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenAcceptBothAsync
- action
the action for
CompletionStage.thenAcceptBothAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptBothAsync[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef]): NameableCompletionStage[Void]
Original version of
CompletionStage.thenAcceptBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenAcceptBothAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenAcceptBothAsync
- action
the action for
CompletionStage.thenAcceptBothAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenAcceptBothAsyncNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef], executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAcceptBothAsync
.Named version of
CompletionStage.thenAcceptBothAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenAcceptBothAsync
- action
the action for
CompletionStage.thenAcceptBothAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenAcceptBothAsyncNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAcceptBothAsync
.Named version of
CompletionStage.thenAcceptBothAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenAcceptBothAsync
- action
the action for
CompletionStage.thenAcceptBothAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenAcceptBothNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T <: AnyRef, _ >: U <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAcceptBoth
.Named version of
CompletionStage.thenAcceptBoth
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenAcceptBoth
- action
the action for
CompletionStage.thenAcceptBoth
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenAcceptNamed(name: String, action: Consumer[_ >: T <: AnyRef]): NameableCompletionStage[Void]
Named version of
CompletionStage.thenAccept
.Named version of
CompletionStage.thenAccept
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenAccept
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenApply[U](fn: Function[_ >: T <: AnyRef, _ <: U]): NameableCompletionStage[U]
Original version of
CompletionStage.thenApply
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenApply
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenApply
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenApplyAsync[U](fn: Function[_ >: T <: AnyRef, _ <: U], executor: Executor): NameableCompletionStage[U]
Original version of
CompletionStage.thenApplyAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenApplyAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenApplyAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenApplyAsync[U](fn: Function[_ >: T <: AnyRef, _ <: U]): NameableCompletionStage[U]
Original version of
CompletionStage.thenApplyAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenApplyAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenApplyAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenApplyAsyncNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: U], executor: Executor): NameableCompletionStage[U]
Named version of
CompletionStage.thenApplyAsync
.Named version of
CompletionStage.thenApplyAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenApplyAsync
- executor
the executor to use for asynchronous execution
- returns
the new (named) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenApplyAsyncNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: U]): NameableCompletionStage[U]
Named version of
CompletionStage.thenApplyAsync
.Named version of
CompletionStage.thenApplyAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenApplyAsync
- returns
the new (named) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenApplyNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: U]): NameableCompletionStage[U]
Named version of
CompletionStage.thenApply
.Named version of
CompletionStage.thenApply
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenApply
- returns
the new (named) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenCombine[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V]): NameableCompletionStage[V]
Original version of
CompletionStage.thenCombine
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenCombine
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenCombine
- fn
the function for
CompletionStage.thenCombine
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenCombineAsync[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V], executor: Executor): NameableCompletionStage[V]
Original version of
CompletionStage.thenCombineAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenCombineAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenCombineAsync
- fn
the function for
CompletionStage.thenCombineAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenCombineAsync[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V]): NameableCompletionStage[V]
Original version of
CompletionStage.thenCombineAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenCombineAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- other
the other CompletionStage for
CompletionStage.thenCombineAsync
- fn
the function for
CompletionStage.thenCombineAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenCombineAsyncNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V], executor: Executor): NameableCompletionStage[V]
Named version of
CompletionStage.thenCombineAsync
.Named version of
CompletionStage.thenCombineAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenCombineAsync
- fn
the function for
CompletionStage.thenCombineAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenCombineAsyncNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V]): NameableCompletionStage[V]
Named version of
CompletionStage.thenCombineAsync
.Named version of
CompletionStage.thenCombineAsync
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenCombineAsync
- fn
the function for
CompletionStage.thenCombineAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenCombineNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T <: AnyRef, _ >: U <: AnyRef, _ <: V]): NameableCompletionStage[V]
Named version of
CompletionStage.thenCombine
.Named version of
CompletionStage.thenCombine
.- name
the name for the new CompletionStage and completion callback
- other
the other CompletionStage for
CompletionStage.thenCombine
- fn
the function for
CompletionStage.thenCombine
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenCompose[U](fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]]): NameableCompletionStage[U]
Original version of
CompletionStage.thenCompose
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenCompose
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenCompose
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenComposeAsync[U](fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]], executor: Executor): NameableCompletionStage[U]
Original version of
CompletionStage.thenComposeAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenComposeAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenComposeAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenComposeAsync[U](fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]]): NameableCompletionStage[U]
Original version of
CompletionStage.thenComposeAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenComposeAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- fn
the function for
CompletionStage.thenComposeAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenComposeAsyncNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]], executor: Executor): NameableCompletionStage[U]
Named version of
CompletionStage.thenComposeAsync
.Named version of
CompletionStage.thenComposeAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenComposeAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenComposeAsyncNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]]): NameableCompletionStage[U]
Named version of
CompletionStage.thenComposeAsync
.Named version of
CompletionStage.thenComposeAsync
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenComposeAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenComposeNamed[U](name: String, fn: Function[_ >: T <: AnyRef, _ <: CompletionStage[U]]): NameableCompletionStage[U]
Named version of
CompletionStage.thenCompose
.Named version of
CompletionStage.thenCompose
.- name
the name for the new CompletionStage and completion callback
- fn
the function for
CompletionStage.thenCompose
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenRun(action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.thenRun
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenRun
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenRun
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenRunAsync(action: Runnable, executor: Executor): NameableCompletionStage[Void]
Original version of
CompletionStage.thenRunAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenRunAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenRunAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenRunAsync(action: Runnable): NameableCompletionStage[Void]
Original version of
CompletionStage.thenRunAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.thenRunAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.thenRunAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def thenRunAsyncNamed(name: String, action: Runnable, executor: Executor): NameableCompletionStage[Void]
Named version of
CompletionStage.thenRunAsync
.Named version of
CompletionStage.thenRunAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenRunAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenRunAsyncNamed(name: String, action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.thenRunAsync
.Named version of
CompletionStage.thenRunAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenRunAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def thenRunNamed(name: String, action: Runnable): NameableCompletionStage[Void]
Named version of
CompletionStage.thenRun
.Named version of
CompletionStage.thenRun
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.thenRun
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def toCompletableFuture(): CompletableFuture[T]
Original version of
CompletionStage.toCompletableFuture
.Original version of
CompletionStage.toCompletableFuture
.- returns
the CompletableFuture
- Definition Classes
- NameableCompletionStage → CompletionStage
- def toCompletableFutureNamed(name: String): CompletableFuture[T]
Named version of
CompletionStage.toCompletableFuture
.Named version of
CompletionStage.toCompletableFuture
.Note: only applies the name when this method returns a new CompletableFuture.
- name
the name for the CompletableFuture (if new future created)
- returns
the CompletableFuture
- Definition Classes
- NameableCompletionStage
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def whenComplete(action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef]): NameableCompletionStage[T]
Original version of
CompletionStage.whenComplete
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.whenComplete
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.whenComplete
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def whenCompleteAsync(action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef], executor: Executor): NameableCompletionStage[T]
Original version of
CompletionStage.whenCompleteAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.whenCompleteAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.whenCompleteAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def whenCompleteAsync(action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef]): NameableCompletionStage[T]
Original version of
CompletionStage.whenCompleteAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.Original version of
CompletionStage.whenCompleteAsync
, but returns a NameableCompletionStage where subsequent method calls can use named variations.- action
the action for
CompletionStage.whenCompleteAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage → CompletionStage
- def whenCompleteAsyncNamed(name: String, action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef], executor: Executor): NameableCompletionStage[T]
Named version of
CompletionStage.whenCompleteAsync
.Named version of
CompletionStage.whenCompleteAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.whenCompleteAsync
- executor
the executor to use for asynchronous execution
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def whenCompleteAsyncNamed(name: String, action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef]): NameableCompletionStage[T]
Named version of
CompletionStage.whenCompleteAsync
.Named version of
CompletionStage.whenCompleteAsync
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.whenCompleteAsync
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
- def whenCompleteNamed(name: String, action: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef]): NameableCompletionStage[T]
Named version of
CompletionStage.whenComplete
.Named version of
CompletionStage.whenComplete
.- name
the name for the new CompletionStage and completion callback
- action
the action for
CompletionStage.whenComplete
- returns
the new (unnamed) CompletionStage
- Definition Classes
- NameableCompletionStage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.