[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Going to pull the vfs packages into a separate project
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Dec 19 03:10:50 EST 2006
The problem is hasBeenModified() causing trashing of the cache due to the first call always returning false. I have updated this method to not return true when cachedLastModified is uninitialized and the startup time is back down to 14s.
| public boolean hasBeenModified() throws IOException
| {
| boolean hasBeenModified = false;
| long last = getLastModified();
| if (cachedLastModified != last)
| {
| hasBeenModified = cachedLastModified != 0;
| cachedLastModified = last;
| }
| return hasBeenModified;
| }
|
I have created a 2.0.0.Beta2 release of the vfs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994908#3994908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994908
More information about the jboss-dev-forums
mailing list