接口 NacosNamingInterceptor<T extends Interceptable>
-
- 所有已知实现类:
AbstractBeatCheckInterceptor,AbstractHealthCheckInterceptor,HealthCheckEnableInterceptor,HealthCheckResponsibleInterceptor,InstanceBeatCheckResponsibleInterceptor,InstanceEnableBeatCheckInterceptor,ServiceEnableBeatCheckInterceptor
public interface NacosNamingInterceptor<T extends Interceptable>Nacos naming interceptor.- 作者:
- xiweng.yy
-
-
方法详细资料
-
isInterceptType
boolean isInterceptType(java.lang.Class<?> type)
Judge whether the input type is intercepted by this Interceptor.This method only should judge the object type whether need be do intercept. Not the intercept logic.
- 参数:
type- type- 返回:
- true if the input type is intercepted by this Interceptor, otherwise false
-
intercept
boolean intercept(T object)
Do intercept operation.This method is the actual intercept operation.
- 参数:
object- need intercepted object- 返回:
- true if object is intercepted, otherwise false
-
order
int order()
The order of interceptor. The lower the number, the earlier the execution.- 返回:
- the order number of interceptor
-
-