Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/wsplgen/WSPLGENFuture.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
8 | 8 |
9 package org.dive4elements.river.wsplgen; | 9 package org.dive4elements.river.wsplgen; |
10 | 10 |
11 import java.util.concurrent.FutureTask; | 11 import java.util.concurrent.FutureTask; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 | 16 |
16 /** | 17 /** |
17 * This FutureTask overrides the <i>cancel()</i> method. Before super.cancel() | 18 * This FutureTask overrides the <i>cancel()</i> method. Before super.cancel() |
18 * is called, WSPLGENCallable.cancelWSPLGEN() is executed to kill a running | 19 * is called, WSPLGENCallable.cancelWSPLGEN() is executed to kill a running |
20 * | 21 * |
21 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 22 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
22 */ | 23 */ |
23 public class WSPLGENFuture extends FutureTask { | 24 public class WSPLGENFuture extends FutureTask { |
24 | 25 |
25 private static final Logger log = Logger.getLogger(WSPLGENFuture.class); | 26 private static final Logger log = LogManager.getLogger(WSPLGENFuture.class); |
26 | 27 |
27 protected WSPLGENCallable wsplgenCallable; | 28 protected WSPLGENCallable wsplgenCallable; |
28 | 29 |
29 | 30 |
30 public WSPLGENFuture(WSPLGENCallable callable) { | 31 public WSPLGENFuture(WSPLGENCallable callable) { |