Commit 203da37f authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Adds license.

parent 6297bc07
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2019 ScalAgent Distributed Technologies
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
* Initial developer(s): ScalAgent Distributed Technologies
* Contributor(s):
import java.util.concurrent.Callable;
......@@ -18,6 +40,7 @@ public class TimeLimiter {
* propagated. If the time limit is reached, we attempt to abort the call, and throw a {@link TimeoutException}
* to the caller.
* @param <T> the type of the task's result
* @param callable the Callable to execute
* @param timeoutDuration with timeoutUnit, the maximum length of time to wait
* @param timeoutUnit with timeoutDuration, the maximum length of time to wait
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment