I have two different threads one of which put information into Gemfire region and another one read and remove same information from the same Gemfire region. The problem is: If the second thread is busy the first thread continued to put information into Gemfire region.
What is needed - block first thread if some limit of items in region was reached. It is possible to implement this manualy but may be same mechanism already exists into Gemfire?