All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.spitmaster.warlock.core.Waround Maven / Gradle / Ivy

Go to download

warlock-spring-boot-starter is an annotation-driven concurrency tools library for java with Spring. It is easy to use in Spring application Just using annotation on your method , the concurrency lock problem would be solved

There is a newer version: 1.0.1
Show newest version
package io.github.spitmaster.warlock.core;

import org.aopalliance.intercept.MethodInvocation;

public interface Waround {

    /**
     * 在自定义的环境下执行业务函数
     *
     * @param methodInvocation 切点
     * @return 业务函数的返回值
     * @throws Throwable 业务方法可能抛出的异常
     */
    Object doAround(MethodInvocation methodInvocation) throws Throwable;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy