Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


18.1.4 FailureOperationInfo class

Organization of this subsection

(1) Description

This is a class used for storing information about failed operations when part or all of a batch operation fails.

(2) Inheritance relationship

java.lang.Object
 [Figure]com.hitachi.software.xeads.client.api.FailureOperationInfo

(3) Format

public class FailureOperationInfo
extends java.lang.Object

(4) List of methods

The following table lists and describes the methods provided by the FailureOperationInfo class:

Method name

Description

getKey()

Acquires the key that was used in a failed operation.

getErrorCode()

Acquires the error code that indicates the cause of an operation error.

getException()

Acquires the exception that occurred in a failed operation.

(5) getKey()

(a) Description

This method acquires the key that was used in a failed operation.

(b) Format

public String getKey()

(c) Return value

This method returns the key that was used by the failed operation.

(6) getErrorCode()

(a) Description

This method acquires the error code that indicates the cause of an operation error.

(b) Format

public int getErrorCode()

(c) Return value

This method returns the error code that indicates the cause of the operation error.

(7) getException()

(a) Description

This method acquires the exception that occurred in a failed operation.

(b) Format

public CacheException getException()

(c) Return value

This method returns the exception that occurred in the failed operation.