org.springframework.data.mongodb

Interface SessionAwareMethodInterceptor.ClientSessionOperator<T>

  • Type Parameters:
    T - the type of the operands and result of the operator
    All Superinterfaces:
    BiFunction<com.mongodb.session.ClientSession,T,T>
    Enclosing class:
    SessionAwareMethodInterceptor<D,C>


    public static interface SessionAwareMethodInterceptor.ClientSessionOperator<T>
    extends BiFunction<com.mongodb.session.ClientSession,T,T>
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands accepting ClientSession. This is a specialization of BiFunction for the case where the operands and the result are all of the same type.