DefaultConfigurableCacheFactoryConvertInt Method (IXmlValue, Int32) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Convert the value in the specified
IXmlValue to an int.
If the conversion fails, a warning will be logged.
Namespace:
Tangosol.Net
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxprotected static int ConvertInt(
IXmlValue xmlValue,
int defaultValue
)
Parameters
- xmlValue
- Type: Tangosol.Run.XmlIXmlValue
The element expected to contain an int value.
- defaultValue
- Type: SystemInt32
The value that will be returned if the element does not contain
a value that can be converted to int.
Return Value
Type:
Int32
The int value in the provided element, or defaultValue upon a
conversion failure.
See Also