Java – log in and play non blocked?
•
Java
Log in to play non blocked? Does it use some non blocking IO APIs behind the scenes? Is it scheduled in some other thread pool? I tried to look at the code, but I couldn't figure it out from there
Solution
The document only says that it uses logback, so I think it is blocked by default. If you want asynchronous logging, you can use async appender (note caveats)
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码