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>
AMillisProcessor
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 Constructor Description MillisProcessor()
Constructs aMillisProcessor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
onProcess(ProcessingContext context, XmlElement xmlElement)
Process anXmlElement
to 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 anXmlElement
to return a specific type of value.- Specified by:
onProcess
in classAbstractEmptyElementProcessor<Long>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedxmlElement
- theXmlElement
to process- Returns:
- a value of type T
- Throws:
ConfigurationException
- when a configuration problem was encountered
-
-