Packages

c

com.lightbend.cinnamon.java.future

NameableCompletableFuture

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NameableCompletableFuture
  2. NameableCompletionStage
  3. CompletionStage
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NameableCompletableFuture(underlying: CompletableFuture[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  18. 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

  19. def copyNamed(name: String): NameableCompletableFuture[T]

    Named version of CompletableFuture.copy.

    Named version of CompletableFuture.copy.

    returns

    the new (named) copied CompletableFuture

  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. 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
  23. def exceptionallyAsync(arg0: Function[Throwable, _ <: T], arg1: Executor): CompletionStage[T]
    Definition Classes
    CompletionStage
  24. def exceptionallyAsync(arg0: Function[Throwable, _ <: T]): CompletionStage[T]
    Definition Classes
    CompletionStage
  25. def exceptionallyCompose(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
    Definition Classes
    CompletionStage
  26. def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]], arg1: Executor): CompletionStage[T]
    Definition Classes
    CompletionStage
  27. def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
    Definition Classes
    CompletionStage
  28. 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
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  30. 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
    NameableCompletableFutureNameableCompletionStage
    Annotations
    @Override()
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. 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

  40. def minimalCompletionStageNamed(name: String): NameableCompletionStage[T]

    Named version of CompletableFuture.minimalCompletionStage.

    Named version of CompletableFuture.minimalCompletionStage.

    returns

    the new (named) copied CompletableFuture

  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. 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

  43. def newIncompleteFutureNamed[U](name: String): NameableCompletableFuture[U]

    Named version of CompletableFuture.newIncompleteFuture.

    Named version of CompletableFuture.newIncompleteFuture.

    returns

    the new (named) incomplete CompletableFuture

  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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 forCompletionStage.thenComposeAsync

    returns

    the new (unnamed) CompletionStage

    Definition Classes
    NameableCompletionStage → CompletionStage
  86. 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
  87. 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 forCompletionStage.thenComposeAsync

    returns

    the new (unnamed) CompletionStage

    Definition Classes
    NameableCompletionStage
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. def toCompletableFuture(): CompletableFuture[T]

    Original version of CompletionStage.toCompletableFuture.

    Original version of CompletionStage.toCompletableFuture.

    returns

    the CompletableFuture

    Definition Classes
    NameableCompletionStage → CompletionStage
  96. 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
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from NameableCompletionStage[T]

Inherited from CompletionStage[T]

Inherited from AnyRef

Inherited from Any

Ungrouped