Revision 48139
Added by Alessia Bardi almost 7 years ago
RefreshShadowCacheJobNode.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.openaireplus.workflows.nodes.stats; |
2 | 2 |
|
3 |
import com.googlecode.sarasvati.NodeToken; |
|
4 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob; |
|
3 | 5 |
import org.apache.commons.lang.StringUtils; |
4 | 6 |
import org.apache.commons.logging.Log; |
5 | 7 |
import org.apache.commons.logging.LogFactory; |
6 | 8 |
|
7 |
import com.googlecode.sarasvati.NodeToken; |
|
8 |
|
|
9 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob; |
|
10 |
|
|
11 | 9 |
/** |
12 | 10 |
* Ask the StatsManagerService to refresh the shadow cache according to the content of the shadow stats db for the portal specified by the |
13 | 11 |
* additional BB parameter <code>StatsManagerServiceBBAction.REFRESH_SHADOW_CACHE.getTargetPortalParamName()</code>. |
14 | 12 |
* <p> |
15 | 13 |
* In order for the given portal to actually use the generated cache, we must promote the cache with the BB message 'promoteCache'. |
16 | 14 |
* </p> |
17 |
*
|
|
15 |
* |
|
18 | 16 |
* @author alessia |
19 | 17 |
* @see eu.dnetlib.msro.openaireplus.workflows.nodes.stats.PromoteShadowCacheStatsJobNode |
20 | 18 |
*/ |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40