Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


18.2.4 ClientInfo interface

Organization of this subsection

(1) Description

This interface acquires information about the EADS client that executed the API method.

(2) Interface name

com.hitachi.software.xeads.common.ClientInfo

(3) List of methods

The following table lists and describes the methods provided by the ClientInfo interface:

Method name

Description

getIp()

Acquires the IP address of the EADS client that executed the API method.

getPid()

Acquires the PID assigned by the EADS client that executed the API method.

getCacheName()

Acquires the cache name specified on the EADS client.

getKeyOrGroupName()

Acquires the key or group name specified on the EADS client.

getFunctionArgument()

Acquires the arguments of the user function specified on the EADS server.

(4) getIp()

(a) Description

This method acquires the IP address of the EADS client that executed the API method.

(b) Format

public byte[] getIp()

(c) Return value

This method returns the IP address of the EADS client that executed the API method.

(5) getPid()

(a) Description

This method acquires the PID assigned by the EADS client that executed the API method.

The acquired PID is the same as the value in the pid column in the log output by the EADS client that executed the API method.

(b) Format

public int getPid()

(c) Return value

This method returns the PID assigned by the EADS client that executed the API method.

(6) getCacheName()

(a) Description

This method acquires the cache name specified on the EADS client.

(b) Format

public String getCacheName()

(c) Return value

This method returns the cache name specified on the EADS client.

(7) getKeyOrGroupName()

(a) Description

This method acquires the key or group name specified on the EADS client.

(b) Format

public String getKeyOrGroupName()

(c) Return value

This method returns the key or group name specified on the EADS client.

If no key or group was specified on the EADS client, null is returned.

(8) getFunctionArgument()

(a) Description

This method acquires the arguments of the user function specified on the EADS server.

(b) Format

public Object getFunctionArgument()

(c) Return value

This method returns the arguments of the user function specified on the EADS server.

If no user function arguments were specified or null was specified on the EADS client, null is returned.