db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RPost" <rp0...@pacbell.net>
Subject Re: Derby architecture/design documents
Date Mon, 07 Feb 2005 17:43:16 GMT
> "Dibyendu Majumdar" wrote:

> LogCounter is an implementation of LogInstant.

Why doesn't LogCounter perform error checking (overflow/underflow) for
'fileNumber' and 'filePosition' in the constructors, next and prior methods?
Is this for performance reasons?

LogCounter, like several other 'formatable' classes does not read/write its
own StoredFormatId nor does it have an instance or static variable for it.
Could Mike explain this aspect of the architecture? Is this because the
StoredFormatId must be read in order to know what class to have read the
object and at the point the class reads the object the Id has already been
read?

Why were 'fileNumber' and 'filePosition' defined as longs when they are not
permitted to have values larger than ints?


Mime
View raw message