@FunctionalInterface public interface BreakerEntry extends AutoCloseable
try(Entry entry = CloudClient.breaker("test")){
//业务处理
}
| Modifier and Type | Method and Description |
|---|---|
default void |
close()
自动关闭
|
AutoCloseable |
enter()
进入
|
AutoCloseable enter() throws BreakerException
BreakerExceptiondefault void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2025. All rights reserved.