Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


18.1 Classes provided by the Java client libraries

The Java client libraries provide the classes listed in the table below as an EADS application program interface (API). You can use these classes by specifying the EADS-provided package names in the source programs coded in Java.

Note that the classes supported by the Java client libraries are all thread-safe.

Table 18‒1: Class and package names supported by the Java client libraries

No.

Class name

Description

Package name

1

Cache

This class is used for manipulating data.

com.hitachi.software.xeads.client.api

2

CacheManager

This class is used for managing caches.

3

Node

This class is used for obtaining information about an EADS server.

4

FailureOperationInfo

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

5

CacheException

This is an exception class that is returned when an operation on the Cache and CacheManager classes fails.

6

InitializeException

This is a subclass of CacheException that is returned when initialization of the CacheManager class results in an error.

7

InternalClientException

This is a subclass of CacheException that is returned when an internal error occurs on an EADS client.

8

InternalServerException

This is a subclass of CacheException that is returned when an internal error occurs on an EADS server.

9

ServerCommunicationException

This is a subclass of CacheException that is returned in the event of a communication error.

10

UserOperationException

This is a subclass of CacheException that is returned when an error occurs due to an illegal user operation.

11

BatchOperationException

This is a subclass of CacheException that is returned when part or all of a batch operation fails.

12

AllFailureException

This is a subclass of BatchOperationException that is returned when all of a batch operation fails.

13

PartFailureException

This is a subclass of BatchOperationException that is returned when part of a batch operation fails.

Organization of this section