2023-09-02 17:24:47 +08:00
|
|
|
package com.example.easy.retry.service;
|
|
|
|
|
|
|
|
/**
|
2023-09-07 09:33:23 +08:00
|
|
|
* @author: www.byteblogs.com
|
|
|
|
* @date : 2023-09-06 09:02
|
2023-09-02 17:24:47 +08:00
|
|
|
*/
|
2023-09-07 09:33:23 +08:00
|
|
|
public interface LocalRemoteService {
|
2023-09-02 17:24:47 +08:00
|
|
|
|
2023-09-16 12:36:17 +08:00
|
|
|
void localRemote();
|
|
|
|
|
|
|
|
String remoteRetryWithLocalRemote(String requestId);
|
2024-03-03 12:42:04 +08:00
|
|
|
|
|
|
|
boolean localRetryWithPropagationRequired(String params);
|
|
|
|
|
|
|
|
boolean localRetryWithPropagationRequiredNew(String params);
|
|
|
|
|
|
|
|
boolean localRetryWithTryCatch1(String params);
|
|
|
|
|
|
|
|
boolean localRetryWithTryCatch2(String params);
|
|
|
|
|
|
|
|
boolean localRetryWithTwoRetryMethod(String params);
|
2023-09-02 17:24:47 +08:00
|
|
|
}
|