On 25/11/2010 10:22, declan harrison wrote: >> ... and how are you writing to the BufferedOutputStream? >> > > So I end up calling this method for most of the writes that are > performed for binary IO. > @Override > public synchronized void write(byte[] b, int off, int len) > throws IOException { > > long bTime = System.currentTimeMillis(); > super.write(b, off, len); > long aTime = System.currentTimeMillis(); > timeDelta += aTime-bTime; > ++numWrites; > > updateSNMPValue(bWrote); > } >
Sorry, how does this answer my question? p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature