org.mmbase.streams
Class CreateCachesFunction
java.lang.Object
org.mmbase.util.functions.AbstractFunction<R>
org.mmbase.util.functions.NodeFunction<Boolean>
org.mmbase.streams.CreateCachesFunction
- All Implemented Interfaces:
- Serializable, Comparable<Function<Boolean>>, Function<Boolean>
public class CreateCachesFunction
- extends NodeFunction<Boolean>
Triggers (re)creation of caches (streamsourcescaches) of a source node
(streamsources). The parameter 'all' determines whether to recreate all caches
or just to transcode newly configured streams. The parameter 'cache' can hold the
node number of a singe caches node to retranscode.
- Version:
- $Id: CreateCachesFunction.java 42565 2010-06-15 09:27:07Z andre $
- Author:
- Michiel Meeuwissen, André van Toly
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.util.functions.AbstractFunction |
compareTo, createParameters, equals, getDescription, getFunctionValueWithArgs, getFunctionValueWithList, getName, getParameterDefinition, hashCode, setDescription, setParameterDefinition, setReturnType, toString |
PARAMETERS
public static final Parameter[] PARAMETERS
CreateCachesFunction
public CreateCachesFunction()
getCacheCreator
Processor getCacheCreator(Field url)
- CommitProcessor is on url field of source node.
- Parameters:
url - field url of source node
- Returns:
- Processor to (re)create caches nodes
getFunctionValue
protected Boolean getFunctionValue(Node node,
Parameters parameters)
- Specified by:
getFunctionValue in class NodeFunction<Boolean>
MMBase 2.0-SNAPSHOT - null