Class MemorySizeProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor<Integer>
com.tangosol.coherence.config.xml.processor.MemorySizeProcessor
- All Implemented Interfaces:
ConditionalElementProcessor<Integer>,ElementProcessor<Integer>
A
MemorySizeProcessor is responsible for processing Coherence
memory sizes and returning them in bytes.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.07.02
-
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
-
MemorySizeProcessor
public MemorySizeProcessor()Constructs aMemorySizeProcessor.
-
-
Method Details
-
onProcess
public Integer onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException Process anXmlElementto return a specific type of value.- Specified by:
onProcessin classAbstractEmptyElementProcessor<Integer>- Parameters:
context- theProcessingContextin which theXmlElementis being processedxmlElement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-