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
-
Method Summary
Modifier and TypeMethodDescriptiononProcess
(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 Details
-
MillisProcessor
public MillisProcessor()Constructs aMillisProcessor
.
-
-
Method Details
-
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
-