com.zyy.common.thread.HandleAsyncThread Maven / Gradle / Ivy
package com.zyy.common.thread;
import com.zyy.common.aspect.HandleAspect;
import com.zyy.common.util.TokenModel;
import lombok.AllArgsConstructor;
import org.aspectj.lang.ProceedingJoinPoint;
@AllArgsConstructor
public class HandleAsyncThread extends Thread {
private final ProceedingJoinPoint joinPoint;
private final Object proceed;
private final TokenModel tokenModel;
@Override
public void run() {
HandleAspect.handle(joinPoint, proceed, tokenModel);
}
}