Package com.linecorp.armeria.common.util
Interface SafeCloseable
-
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
EndpointGroup
- All Known Implementing Classes:
AbstractStreamMessageDuplicator
,DnsAddressEndpointGroup
,DnsServiceEndpointGroup
,DnsTextEndpointGroup
,DynamicEndpointGroup
,Endpoint
,HealthCheckedEndpointGroup
,HttpRequestDuplicator
,HttpResponseDuplicator
,PropertiesEndpointGroup
,StaticEndpointGroup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SafeCloseable extends AutoCloseable
AnAutoCloseable
whoseclose()
method does not throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
-
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
-
-