* The maximum number of objects to hold in the postbox before
* blocking.
*/
public DataPostbox(int capacity) {
if (capacity <= 0) {
throw new OsmosisRuntimeException("A capacity of " + capacity + " is invalid, must be greater than 0.");
}
this.bufferCapacity = capacity;
// Use a chunk size one quarter of total buffer size. This is a magic