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

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 <: 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

  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

  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

  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

  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

  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

  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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): 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 exceptionallyAsync(arg0: Function[Throwable, _ <: T], arg1: Executor): CompletionStage[T]
    Definition Classes
    CompletionStage
  22. def exceptionallyAsync(arg0: Function[Throwable, _ <: T]): CompletionStage[T]
    Definition Classes
    CompletionStage
  23. def exceptionallyCompose(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
    Definition Classes
    CompletionStage
  24. def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]], arg1: Executor): CompletionStage[T]
    Definition Classes
    CompletionStage
  25. def exceptionallyComposeAsync(arg0: Function[Throwable, _ <: CompletionStage[T]]): CompletionStage[T]
    Definition Classes
    CompletionStage
  26. 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

  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  28. def getUnderlying(): CompletionStage[T]

    Return the underlying CompletionStage wrapped by this NameableCompletionStage.

    Return the underlying CompletionStage wrapped by this NameableCompletionStage.

    returns

    the underlying CompletionStage

  29. 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
  30. 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
  31. 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
  32. 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

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

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

  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  40. 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
  41. 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
  42. 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
  43. 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

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

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

  46. 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
  47. 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
  48. 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
  49. 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

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

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

  52. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  53. 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
  54. 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
  55. 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
  56. 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

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

  58. 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
  59. 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
  60. 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
  61. 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

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

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

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

  65. 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
  66. 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
  67. 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
  68. 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

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

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

  71. 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
  72. 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
  73. 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
  74. 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

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

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

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

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

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

  83. 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
  84. 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
  85. 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
  86. 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

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

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

  89. def toCompletableFuture(): CompletableFuture[T]

    Original version of CompletionStage.toCompletableFuture.

    Original version of CompletionStage.toCompletableFuture.

    returns

    the CompletableFuture

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

  91. def toString(): String
    Definition Classes
    AnyRef → Any
  92. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  93. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  95. 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
  96. 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
  97. 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
  98. 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

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

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

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 CompletionStage[T]

Inherited from AnyRef

Inherited from Any

Ungrouped