Package com.highdeal.admin.hci
Class ResetCachesResult
java.lang.Object
com.highdeal.admin.hci.ResetCachesResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Reset Caches operation.Operation Request
ResetCachesOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="resetCachesResult">
<xs:complexType>
<xs:attribute name="partitionId" type="xs:short" use="optional"/>
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds string data to this operation; This data is ignored for this operation.voidaddChild(String tagName, XMLMarshallable child) Adds a child tag to this operation; This tag is ignored for this operation.getName()Returns the name of the operation, that is "ping".Gets the operand reference for auditing purpose.Gets the identifier of the partition on which the operation was executed.voidmarshal(XMLOutputter output) Writes the operation XML data to the given output.voidsetAttributes(XMLAttributes atts) Sets the operation attributes from theXMLAttributes.voidsetPartitionId(Short partitionId) Sets the identifier of the partition on which the operation was executed.
-
Field Details
-
OPERATION_NAME
The name of this operation: "pingResult"- See Also:
-
PARTITION_ID_ATTRIBUTE_NAME
The XML attribute name for the partition identifier- See Also:
-
-
Constructor Details
-
ResetCachesResult
public ResetCachesResult()
-
-
Method Details
-
getName
Returns the name of the operation, that is "ping".- Returns:
- "resetCaches"
-
getOperandReference
Gets the operand reference for auditing purpose.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
null, as this operation is not audited
-
setAttributes
Sets the operation attributes from theXMLAttributes.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXMLAttributescontaining the data
-
addCharacterData
Adds string data to this operation; This data is ignored for this operation.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to add to the operation
-
addChild
Adds a child tag to this operation; This tag is ignored for this operation.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of the tagchild- TheXMLMarshallablechild to add
-
marshal
Writes the operation XML data to the given output.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXMLOutputterto write into
-
getPartitionId
Gets the identifier of the partition on which the operation was executed.- Returns:
- the identifier of the partition on which the operation was executed,
or
nullif the operation was executed on all partitions
-
setPartitionId
Sets the identifier of the partition on which the operation was executed.- Parameters:
partitionId- the identifier of the partition on which the operation was executed, ornullif the operation was executed on all partitions
-