Class KotlinInterceptedMethodAsyncResultSupplier<C,​T>

  • Type Parameters:
    C - The connection type
    T - The supplied type
    All Implemented Interfaces:
    java.util.function.Function<AsyncTransactionStatus<C>,​java.util.concurrent.CompletionStage<T>>

    @Internal
    public final class KotlinInterceptedMethodAsyncResultSupplier<C,​T>
    extends java.lang.Object
    implements java.util.function.Function<AsyncTransactionStatus<C>,​java.util.concurrent.CompletionStage<T>>
    The supplier of the Kotlin intercepted method result, allows to access the actual intercepted method.
    Since:
    3.5.0
    Author:
    Denis Stepanov
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletionStage<T> apply​(AsyncTransactionStatus<C> cAsyncTransactionStatus)  
      io.micronaut.aop.kotlin.KotlinInterceptedMethod getKotlinInterceptedMethod()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Method Detail

      • apply

        public java.util.concurrent.CompletionStage<T> apply​(AsyncTransactionStatus<C> cAsyncTransactionStatus)
        Specified by:
        apply in interface java.util.function.Function<C,​T>
      • getKotlinInterceptedMethod

        public io.micronaut.aop.kotlin.KotlinInterceptedMethod getKotlinInterceptedMethod()