public class ResetCachesResult extends java.lang.Object implements OperationResult
Reset Caches operation. ResetCachesOp 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>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME
The name of this operation: "pingResult"
|
static java.lang.String |
PARTITION_ID_ATTRIBUTE_NAME
The XML attribute name for the partition identifier
|
| Constructor and Description |
|---|
ResetCachesResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this operation; This data is ignored for this operation.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this operation; This tag is ignored for this operation.
|
java.lang.String |
getName()
Returns the name of the operation, that is "ping".
|
java.lang.String |
getOperandReference()
Gets the operand reference for auditing purpose.
|
java.lang.Short |
getPartitionId()
Gets the identifier of the partition on which the operation was executed.
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the given output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the
XMLAttributes. |
void |
setPartitionId(java.lang.Short partitionId)
Sets the identifier of the partition on which the operation was executed.
|
public static final java.lang.String OPERATION_NAME
public static final java.lang.String PARTITION_ID_ATTRIBUTE_NAME
public java.lang.String getName()
public java.lang.String getOperandReference()
getOperandReference in interface OperationResultnull, as this operation is not auditedpublic void setAttributes(XMLAttributes atts)
XMLAttributes.setAttributes in interface XMLMarshallableatts - The XMLAttributes containing the datapublic void addCharacterData(java.lang.String cData)
addCharacterData in interface XMLMarshallablecData - The character data to add to the operationpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
addChild in interface XMLMarshallabletagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshal(XMLOutputter output)
marshal in interface XMLMarshallableoutput - The XMLOutputter to write intopublic java.lang.Short getPartitionId()
null if the operation was executed on all partitionspublic void setPartitionId(java.lang.Short partitionId)
partitionId - the identifier of the partition on which the operation was executed,
or null if the operation was executed on all partitions