Skip to main content

Posts

Showing posts with the label Concurrency

Concurrency

CONCURRENCY                       BLOCKING QUEUE : Interface ARRAY BQ : Data structure to hold thread elements LINKED BQ: used  SYNCHRNOUS BQ: Hold only 1 data at a time CYCLIC BARRIER:  SEMAPHORE : RENTRANT LOCK FORK AND JOIN CALL  PRODUCER CONSUMER ATOMIC BOOLEAN  ATOMIC INTEGER ATOMIC LONG  ATOMIC REFERENCE READ WRITE LOCK EXCHANGER : COMMUNICATION BETWEEN THREADS COUNTDOWNLATCH: CONCURRENTLINKEDQUEUE DELAY  BQ JAVA UTIL CONCURRENCY     API EXECUTER SERVICE public interface ExecutorService extends Executor An  Executor  that provides methods to manage termination and methods that can produce a  Future  for tracking progress of one or more asynchronous tasks. An  ExecutorService  can be shut down, which will cause it to reject new tasks .  1)shutdown():  method will allow...