directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject [ChangeLog] Destroy() method semantic
Date Wed, 28 Jan 2009 17:55:13 GMT
Hi,

I'm looking at the MemoryChangeLogStore, and the destroy() method
implementation do a full save on disk :

public void destroy() throws Exception
{
    saveRevision();
    saveTags();
    saveChangeLog();
}

Is there any reason to do that ? Shouldn't we remove everything
instead of saving data ?

It's not necessarily important for the memory CL, but for a disk CL,
we have to decide what is the exact semantic of this method.


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message