Packages

c

com.lightbend.cinnamon.java.future

NameableCompletionStage

class NameableCompletionStage[T] extends CompletionStage[T]

Naming API for CompletionStage.

Note: all methods for NameableCompletionStage return a new NameableCompletionStage for fluent naming API. NameableCompletionStage is a CompletionStage, so can be passed on as is.

Linear Supertypes
CompletionStage[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NameableCompletionStage
  2. CompletionStage
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NameableCompletionStage(underlying: CompletionStage[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]): 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], 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]): 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], 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

  8. def acceptEitherAsyncNamed(name: String, other: CompletionStage[_ <: T], action: Consumer[_ >: T]): 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

  9. def acceptEitherNamed(name: String, other: CompletionStage[_ <: T], action: Consumer[_ >: T]): 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

  10. def applyToEither[U](other: CompletionStage[_ <: T], fn: Function[_ >: T, 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, 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, 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, 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

  14. def applyToEitherAsyncNamed[U](name: String, other: CompletionStage[_ <: T], fn: Function[_ >: T, 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

  15. def applyToEitherNamed[U](name: String, other: CompletionStage[_ <: T], fn: Function[_ >: T, 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

  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. 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
  21. 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

  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def getUnderlying(): CompletionStage[T]

    Return the underlying CompletionStage wrapped by this NameableCompletionStage.

    Return the underlying CompletionStage wrapped by this NameableCompletionStage.

    returns

    the underlying CompletionStage

  24. def handle[U](fn: BiFunction[_ >: T, 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
  25. def handleAsync[U](fn: BiFunction[_ >: T, 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
  26. def handleAsync[U](fn: BiFunction[_ >: T, 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
  27. def handleAsyncNamed[U](name: String, fn: BiFunction[_ >: T, 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

  28. def handleAsyncNamed[U](name: String, fn: BiFunction[_ >: T, 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

  29. def handleNamed[U](name: String, fn: BiFunction[_ >: T, 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

  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def runAfterBoth(other: CompletionStage[_], 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
  36. def runAfterBothAsync(other: CompletionStage[_], 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
  37. def runAfterBothAsync(other: CompletionStage[_], 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
  38. def runAfterBothAsyncNamed(name: String, other: CompletionStage[_], 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

  39. def runAfterBothAsyncNamed(name: String, other: CompletionStage[_], 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

  40. def runAfterBothNamed(name: String, other: CompletionStage[_], 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

  41. def runAfterEither(other: CompletionStage[_], 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
  42. def runAfterEitherAsync(other: CompletionStage[_], 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
  43. def runAfterEitherAsync(other: CompletionStage[_], 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
  44. def runAfterEitherAsyncNamed(name: String, other: CompletionStage[_], 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

  45. def runAfterEitherAsyncNamed(name: String, other: CompletionStage[_], 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

  46. def runAfterEitherNamed(name: String, other: CompletionStage[_], 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

  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def thenAccept(action: Consumer[_ >: T]): 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
  49. def thenAcceptAsync(action: Consumer[_ >: T], 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
  50. def thenAcceptAsync(action: Consumer[_ >: T]): 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
  51. def thenAcceptAsyncNamed(name: String, action: Consumer[_ >: T], 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

  52. def thenAcceptAsyncNamed(name: String, action: Consumer[_ >: T]): 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

  53. def thenAcceptBoth[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U]): 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
  54. def thenAcceptBothAsync[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U], 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
  55. def thenAcceptBothAsync[U](other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U]): 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
  56. def thenAcceptBothAsyncNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U], 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

  57. def thenAcceptBothAsyncNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U]): 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

  58. def thenAcceptBothNamed[U](name: String, other: CompletionStage[_ <: U], action: BiConsumer[_ >: T, _ >: U]): 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

  59. def thenAcceptNamed(name: String, action: Consumer[_ >: T]): 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

  60. def thenApply[U](fn: Function[_ >: T, _ <: 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
  61. def thenApplyAsync[U](fn: Function[_ >: T, _ <: 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
  62. def thenApplyAsync[U](fn: Function[_ >: T, _ <: 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
  63. def thenApplyAsyncNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  64. def thenApplyAsyncNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  65. def thenApplyNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  66. def thenCombine[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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
  67. def thenCombineAsync[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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
  68. def thenCombineAsync[U, V](other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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
  69. def thenCombineAsyncNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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

  70. def thenCombineAsyncNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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

  71. def thenCombineNamed[U, V](name: String, other: CompletionStage[_ <: U], fn: BiFunction[_ >: T, _ >: U, _ <: 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

  72. def thenCompose[U](fn: Function[_ >: T, _ <: 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
  73. def thenComposeAsync[U](fn: Function[_ >: T, _ <: 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
  74. def thenComposeAsync[U](fn: Function[_ >: T, _ <: 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
  75. def thenComposeAsyncNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  76. def thenComposeAsyncNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  77. def thenComposeNamed[U](name: String, fn: Function[_ >: T, _ <: 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

  78. 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
  79. 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
  80. 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
  81. 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

  82. 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

  83. 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

  84. def toCompletableFuture(): CompletableFuture[T]

    Original version of CompletionStage.toCompletableFuture.

    Original version of CompletionStage.toCompletableFuture.

    returns

    the CompletableFuture

    Definition Classes
    NameableCompletionStage → CompletionStage
  85. 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

  86. def toString(): String
    Definition Classes
    AnyRef → Any
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  89. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def whenComplete(action: BiConsumer[_ >: T, _ >: Throwable]): 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
  91. def whenCompleteAsync(action: BiConsumer[_ >: T, _ >: Throwable], 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
  92. def whenCompleteAsync(action: BiConsumer[_ >: T, _ >: Throwable]): 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
  93. def whenCompleteAsyncNamed(name: String, action: BiConsumer[_ >: T, _ >: Throwable], 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

  94. def whenCompleteAsyncNamed(name: String, action: BiConsumer[_ >: T, _ >: Throwable]): 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

  95. def whenCompleteNamed(name: String, action: BiConsumer[_ >: T, _ >: Throwable]): 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

Deprecated Value Members

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

Inherited from CompletionStage[T]

Inherited from AnyRef

Inherited from Any

Ungrouped