Class MillisProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor<Long>
com.tangosol.coherence.config.xml.processor.MillisProcessor
- All Implemented Interfaces:
ConditionalElementProcessor<Long>,ElementProcessor<Long>
A
MillisProcessor is responsible for processing Coherence time values
and returning them in milliseconds.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.03.07
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
AbstractEmptyElementProcessor.EmptyElementBehavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononProcess(ProcessingContext context, XmlElement xmlElement) Process anXmlElementto return a specific type of value.Methods inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
accepts, isEmptyElement, process
-
Constructor Details
-
MillisProcessor
public MillisProcessor()Constructs aMillisProcessor.
-
-
Method Details
-
onProcess
public Long onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException Process anXmlElementto return a specific type of value.- Specified by:
onProcessin classAbstractEmptyElementProcessor<Long>- Parameters:
context- theProcessingContextin which theXmlElementis being processedxmlElement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-