Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 12632
Total Votes: 139 votes
Average Rating: 2.81 out of 5
Category: JAVA/Core JAVA
Description:Blocking methods put Current thread on blocking position until method returns like ServerSocket accept() method which blocks until a client Socket connects to Server. similarly InputStream read() blocks until last character is available in Stream, if not handled carefully blocking method can hung your program. this article gives some tips on how to call blocking method in java.