Set the data cache schedule thread to be a daemon thread.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@452289 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2006-10-03 01:20:16 +00:00
parent bdae6535ec
commit f18ea3dd33
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ public class DataCacheScheduler
_stop = false;
if (_thread == null) {
_thread = new Thread(this, _loc.get("scheduler-name").getMessage());
_thread.setDaemon(true);
_thread.start();
if (_log.isTraceEnabled())
_log.trace(_loc.get("scheduler-start", _thread.getName()));