What is blocking method in Java?

Compiled By Unknown - No Comments
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.

Tags:

No Comment to " What is blocking method in Java? "