[EMAIL PROTECTED] ha scritto:
> [One other change that is needed is that objects should be writable after 
> instantiation. Currently, you can't decrease the TTL of a record, since 
> you can't change the object. (Which was one of the reasons for the 
> unbound-dnsjava fork)]

Hi Alex,

This is probably one of the things to be discussed after we'll have
agreed on the high level direction, anyway I have a small consideration
to add.

AFAIK the UNBOUND project solved the TTL issue by adding helpers
".withTTL(newTTL)" so to easily create record duplicates with only a
different TTL and not by introducing mutators in the records.

We should be careful moving from an immutable object style to a mutable
one. In fact the JVM is able to do big optimizations and multi threading
is also much easier with immutable objects.

Stefano

PS: I removed some CC as this is a bit OT on other mailing lists and I
don't want to cross post 3 lists until we find (if we do) our new home :-)

Reply via email to