A blocking method is a method which blocks until task is done, for example accept() method of ServerSocket blocks until a client is connected. here blocking means control will not return to caller until task is finished. On the other hand there are asynchronous or non-blocking method which returns even before task is finished.
Subscribe to:
Post Comments
(
Atom
)
No Comment to " What is blocking method in Java? "