Package ch.qos.logback.core.util
Class CloseUtil
- java.lang.Object
-
- ch.qos.logback.core.util.CloseUtil
-
@Deprecated(since="2022-01-27") public class CloseUtil extends Object
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Static utility method forCloseableobjects.
-
-
Constructor Summary
Constructors Constructor Description CloseUtil()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidcloseQuietly(Closeable closeable)Deprecated.Closes a closeable while suppressing anyIOExceptionthat occurs.static voidcloseQuietly(ServerSocket serverSocket)Deprecated.Closes a server socket while suppressing anyIOExceptionthat occurs.static voidcloseQuietly(Socket socket)Deprecated.Closes a socket while suppressing anyIOExceptionthat occurs.
-
-
-
Method Detail
-
closeQuietly
public static void closeQuietly(Closeable closeable)
Deprecated.Closes a closeable while suppressing anyIOExceptionthat occurs.- Parameters:
closeable- the socket to close
-
closeQuietly
public static void closeQuietly(Socket socket)
Deprecated.Closes a socket while suppressing anyIOExceptionthat occurs.- Parameters:
socket- the socket to close
-
closeQuietly
public static void closeQuietly(ServerSocket serverSocket)
Deprecated.Closes a server socket while suppressing anyIOExceptionthat occurs.- Parameters:
serverSocket- the socket to close
-
-