Constructor
# new ClientInfo(value)
initialize instance of ClientInfo
Name | Type | Default | Description |
---|---|---|---|
value |
String | null |
Methods
# getAppName() → {string}
Gets the client application name.
The client application name.
- Type
- string
# getClientID() → {number}
Gets the client unique id of the cache client.
The client unique id of the cache client.
- Type
- number
# getClientVersion() → {number}
- Type
- number
# getCores() → {number}
Gets the available cores of the cache client.
The available cores of the cache client.
- Type
- number
# getIPAddress() → {string}
Gets the IPAddress of the cache client.
The IPAddress of the cache client.
- Type
- string
# getMacAddress() → {string}
- Type
- string
# getMachineName() → {string}
Gets the name of the machine the client is running on.
The name of the machine the client is running on.
- Type
- string
# getProcessID() → {number}
Gets the Process ID of the cache client.
The Process ID of the cache client.
- Type
- number
# getStatus() → {string}
- Type
- string
# setAppName(appName)
Sets the client application name.
Name | Type | Description |
---|---|---|
appName |
string | Application's name. |
# setClientID(clientID)
Sets the client unique id of the cache client.
Name | Type | Description |
---|---|---|
clientID |
number | The client unique id of the cache client. |
# setIPAddress(iPAddress)
Sets the IPAddress of the cache client.
Name | Type | Description |
---|---|---|
iPAddress |
string | IPAddress of the cache client. |
# setMacAddress(macAddress)
Gets the MacAddress of the cache client.
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.
ClientInfo in string form