NIO Selector execution process

1, What is Seletor? The literal meaning of selector is not easy to understand. Seletor is a listener that can listen to events in the Channel. Channels can be registered in the seletor. When these registered channels have events, the seletor's select method will return these events to the thread for processing. 2, The difference bet ...

Posted by Fari on Tue, 02 Aug 2022 21:10:27 +0300

Understanding Java, bio and nio is enough!!!

java I/O I/O model Pre knowledge What are synchronous and asynchronous? What are blocking and non blocking? What are blocking I/O and non blocking I/O? What are synchronous I/O and asynchronous I/O? What are synchronous and asynchronous? Synchronization means that when multiple tasks are executed together, the tasks must be completed one by o ...

Posted by blackcode on Sun, 03 Apr 2022 10:28:53 +0300