public synchronized void enqueue ( final T o ) throws IOException { assert o != null ; fbaos . reset ( ) ; BinIO . storeObject ( o , fbaos ) ; byteDiskQueue . enqueueInt ( fbaos . length ) ; byteDiskQueue . enqueue ( fbaos . array , 0 , fbaos . length ) ; size ++ ; }
Enqueues an object to this queue .