Hello guys,
We developed a log class (all static methods), that can handle multiple log files,
etc. This class is being used for custom logging on all our servlets.
It takes its parameters from a config file, and detects updates to its configuration.
So, if config info changes, this class issues a synchronized "reset()", to close
files, etc.
Consider this situation:
1. there is already a Thread A running a (static) method of my class;
2. config changes, and (synchronized static) reset() is called from Thread B;
Will A be interrupted, while B reset()s, and then continue OR will B wait for A to
finish its operation?
TIA
Rog�rio Gatto
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html