public class MillisProcessor extends AbstractEmptyElementProcessor<Long>
MillisProcessor
is responsible for processing Coherence time values
and returning them in milliseconds.AbstractEmptyElementProcessor.EmptyElementBehavior
Constructor and Description |
---|
MillisProcessor()
Constructs a
MillisProcessor . |
Modifier and Type | Method and Description |
---|---|
Long |
onProcess(ProcessingContext context,
XmlElement xmlElement)
Process an
XmlElement to return a specific type of value. |
accepts, isEmptyElement, process
public MillisProcessor()
MillisProcessor
.public Long onProcess(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
XmlElement
to return a specific type of value.onProcess
in class AbstractEmptyElementProcessor<Long>
context
- the ProcessingContext
in which the
XmlElement
is being processedxmlElement
- the XmlElement
to processConfigurationException
- when a configuration problem was encountered