Revision 48139
Added by Alessia Bardi almost 7 years ago
SplitDatasetRecord.java | ||
---|---|---|
4 | 4 |
import java.util.concurrent.Executor; |
5 | 5 |
import java.util.concurrent.Executors; |
6 | 6 |
import java.util.concurrent.LinkedBlockingQueue; |
7 |
|
|
8 | 7 |
import javax.annotation.Resource; |
9 | 8 |
import javax.xml.ws.wsaddressing.W3CEndpointReference; |
10 | 9 |
|
11 | 10 |
import com.googlecode.sarasvati.Arc; |
12 | 11 |
import com.googlecode.sarasvati.NodeToken; |
13 |
|
|
14 | 12 |
import eu.dnetlib.enabling.resultset.IterableResultSetFactory; |
15 | 13 |
import eu.dnetlib.enabling.resultset.client.ResultSetClientFactory; |
16 | 14 |
import eu.dnetlib.enabling.resultset.client.utils.EPRUtils; |
... | ... | |
21 | 19 |
*/ |
22 | 20 |
public class SplitDatasetRecord extends SimpleJobNode { |
23 | 21 |
|
24 |
/** The input epr parm. */ |
|
22 |
/** |
|
23 |
* The input epr parm. |
|
24 |
*/ |
|
25 | 25 |
private String inputEprParm; |
26 | 26 |
|
27 |
/** The output epr parm. */ |
|
27 |
/** |
|
28 |
* The output epr parm. |
|
29 |
*/ |
|
28 | 30 |
private String outputEprParm; |
29 | 31 |
|
30 |
/** The result set client factory. */ |
|
32 |
/** |
|
33 |
* The result set client factory. |
|
34 |
*/ |
|
31 | 35 |
private ResultSetClientFactory resultSetClientFactory; |
32 | 36 |
|
33 |
/** The result set factory. */ |
|
37 |
/** |
|
38 |
* The result set factory. |
|
39 |
*/ |
|
34 | 40 |
@Resource(name = "iterableResultSetFactory") |
35 | 41 |
private IterableResultSetFactory resultSetFactory; |
36 | 42 |
|
37 |
/** The executor. */ |
|
43 |
/** |
|
44 |
* The executor. |
|
45 |
*/ |
|
38 | 46 |
private Executor executor = Executors.newSingleThreadExecutor(); |
39 | 47 |
|
40 | 48 |
/* |
... | ... | |
81 | 89 |
/** |
82 | 90 |
* Sets the input epr parm. |
83 | 91 |
* |
84 |
* @param inputEprParm |
|
85 |
* the inputEprParm to set |
|
92 |
* @param inputEprParm the inputEprParm to set |
|
86 | 93 |
*/ |
87 | 94 |
public void setInputEprParm(final String inputEprParm) { |
88 | 95 |
this.inputEprParm = inputEprParm; |
... | ... | |
100 | 107 |
/** |
101 | 108 |
* Sets the result set client factory. |
102 | 109 |
* |
103 |
* @param resultSetClientFactory |
|
104 |
* the resultSetClientFactory to set |
|
110 |
* @param resultSetClientFactory the resultSetClientFactory to set |
|
105 | 111 |
*/ |
106 | 112 |
public void setResultSetClientFactory(final ResultSetClientFactory resultSetClientFactory) { |
107 | 113 |
this.resultSetClientFactory = resultSetClientFactory; |
... | ... | |
119 | 125 |
/** |
120 | 126 |
* Sets the output epr parm. |
121 | 127 |
* |
122 |
* @param outputEprParm |
|
123 |
* the new output epr parm |
|
128 |
* @param outputEprParm the new output epr parm |
|
124 | 129 |
*/ |
125 | 130 |
public void setOutputEprParm(final String outputEprParm) { |
126 | 131 |
this.outputEprParm = outputEprParm; |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40