ClientInfo

ClientInfo

Displays the information related to client..


Constructor

# new ClientInfo(value)

initialize instance of ClientInfo

Parameters:
Name Type Default Description
value String null

Methods

# getAppName() → {string}

Gets the client application name.

Returns:

The client application name.

Type
string

# getClientID() → {number}

Gets the client unique id of the cache client.

Returns:

The client unique id of the cache client.

Type
number

# getClientVersion() → {number}

Returns:
Type
number

# getCores() → {number}

Gets the available cores of the cache client.

Returns:

The available cores of the cache client.

Type
number

# getIPAddress() → {string}

Gets the IPAddress of the cache client.

Returns:

The IPAddress of the cache client.

Type
string

# getMacAddress() → {string}

Returns:
Type
string

# getMachineName() → {string}

Gets the name of the machine the client is running on.

Returns:

The name of the machine the client is running on.

Type
string

# getProcessID() → {number}

Gets the Process ID of the cache client.

Returns:

The Process ID of the cache client.

Type
number

# getStatus() → {string}

Returns:
Type
string

# setAppName(appName)

Sets the client application name.

Parameters:
Name Type Description
appName string

Application's name.

# setClientID(clientID)

Sets the client unique id of the cache client.

Parameters:
Name Type Description
clientID number

The client unique id of the cache client.

# setIPAddress(iPAddress)

Sets the IPAddress of the cache client.

Parameters:
Name Type Description
iPAddress string

IPAddress of the cache client.

# setMacAddress(macAddress)

Gets the MacAddress of the cache client.

Parameters:
Name Type Description
macAddress string

Mac Address of cache client.

# toString()

Converts Client Info to string , contains client id , Application name ,Process id , machine name and address.

Returns:

ClientInfo in string form