Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


2.7.1 Mechanism of user functions

There are two ways to execute user functions:

Figure 2‒21: Mechanism of user functions

[Figure]

To use user functions, first create them and then place them on all EADS servers in the cluster.

The following explains the mechanism of user functions for each execution method.

Organization of this subsection

(1) Execution by specifying a key or a group

Call the user function from the EADS client by specifying the key or group name and user function name. The EADS server to be accessed is determined from the hash value of the specified key or group name.

(2) Execution by specifying an EADS server

Call the user function from the EADS client by specifying the EADS server and user function name. The EADS server to be accessed is determined from the specified EADS server's address information (IP address and port number).