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>
public class MillisProcessor extends AbstractEmptyElementProcessor<Long>
AMillisProcessoris 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 Constructor Description MillisProcessor()Constructs aMillisProcessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongonProcess(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 Detail
-
MillisProcessor
public MillisProcessor()
Constructs aMillisProcessor.
-
-
Method Detail
-
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
-
-