allow early return if stopping, avoids some logging on shutdown

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1162059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-08-26 10:50:29 +00:00
parent c54967d4fe
commit d8d20f5621
1 changed files with 3 additions and 0 deletions

View File

@ -350,6 +350,9 @@ public class PListStore extends ServiceSupport implements BrokerServiceAware, Ru
public void run() {
try {
if (isStopping()) {
return;
}
final int lastJournalFileId = journal.getLastAppendLocation().getDataFileId();
final Set<Integer> candidates = journal.getFileMap().keySet();
LOG.trace("Full gc candidate set:" + candidates);