Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


18.2.3 InitConfig interface

Organization of this subsection

(1) Description

This interface acquires information about the function properties used to initialize a user function.

One instance of the InitConfig interface is created for each user function when a user function is initialized.

(2) Interface name

com.hitachi.software.xeads.func.InitConfig

(3) List of methods

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

Method name

Description

getFunctionProperty()

Acquires the value specified for the function properties used to initialize the user function.

getFunctionPropertyNames()

Acquires a list of parameters in the function properties used to initialize the user function.

getFunctionName()

Acquires the name of the user function that is currently executing.

(4) getFunctionProperty()

(a) Description

This method acquires the value specified for the function properties used to initialize the user function.

The method acquires the verified value for the function properties, not the specified value itself.

(b) Format

public String getFunctionProperty(java.lang.String propName)

(c) Parameters

propName

Specifies the parameter name for the function properties.

(d) Return value

This method returns the value corresponding to the parameter name.

If no specified value corresponds to the parameter name, it returns null.

(e) Exceptions

  • NullPointerException (parameter name is null)

(5) getFunctionPropertyNames()

(a) Description

This method acquires a list of parameters in the function properties used to initialize the user function.

(b) Format

public java.util.Set<String> getFunctionPropertyNames()

(c) Return value

This method returns a list of parameter names in the function properties used to initialize the user function.

(6) getFunctionName()

(a) Description

This method acquires the name of the user function that is currently executing.

(b) Format

public String getFunctionName()

(c) Return value

This method returns the name of the user function that is currently executing.