cgl.hpsearch.common.sync
Class SynchronizedBin
java.lang.Object
cgl.hpsearch.common.sync.SynchronizedBin
- public class SynchronizedBin
- extends Object
Producer - Consumer based class for storing responses of asynchronous
requests
The "BIN" is synchronized in the sense that a thread is allowed to get object
ONLY when another thread has put the object in it
Created on Mar 5, 2005
- Author:
- Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizedBin
public SynchronizedBin()
get
public Object get()
put
public void put(Object value)