On Sunday 03 February 2002 23:19, you wrote:
> On Sun, Feb 03, 2002 at 01:10:25PM -0500, Gianni Johansson wrote:
> > FSBucketFactory.FSBucket.resetWrite() doesn't work (NOP) and
> > FSBucketFactory.FSBucket.size() returns the buffer size, not the
> > amount of data in the bucket.
>
> Yeah, I know.  It's rather an unreasonable interface imho.  I have never
> needed to use either of those methods.   Do you really need them?

Yes. They are used by client code. You use Bucket.size() yourself in 
InternalClient.  I don't think Bucket was ever intended to be used by core 
code (but I'm sure I will hear from Oskar if I am wrong ;-) ).

How do you handle restart after DNV's in InternalClient without resetWrite()?

--gj


-- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to