|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
IPoolManager.java | - | - | - | - |
|
1 | /** | |
2 | * JTRunner is free software; you can redistribute it and/or modify it under the | |
3 | * terms of the GNU General Public License as published by the Free Software | |
4 | * Foundation; either version 2, or (at your option) any later version. | |
5 | */ | |
6 | ||
7 | package jtr.pool; | |
8 | ||
9 | import jtr.runners.IRunnerParameterized; | |
10 | ||
11 | /** | |
12 | * This interface defines the contract standing between the <code>IRunner</code>s | |
13 | * and the pool management provided by the JTR framework. By means of this | |
14 | * interface a runner can be repooled on demand.<br> | |
15 | * <br> | |
16 | * <b>Note:</b> application developed runners should not used this method! This | |
17 | * is used by the <code>AbstractRunner</code> wrapper class. | |
18 | * | |
19 | * @author Francesco Russo (frusso@dev.java.net) | |
20 | * @version 4.0 | |
21 | * @since 1.0 | |
22 | */ | |
23 | public interface IPoolManager { | |
24 | /** | |
25 | * Puts the provided <code>IRunnerParameterized</code> back into the pool. | |
26 | * | |
27 | * @param pRunner | |
28 | * IRunnerParameterized | |
29 | */ | |
30 | public void backIntoPool(IRunnerParameterized pRunner); | |
31 | } |
|