Package io.nosqlbench.api.metadata
Class SystemId
java.lang.Object
io.nosqlbench.api.metadata.SystemId
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SystemId
public SystemId()
-
-
Method Details
-
getNodeId
Return the address of a node which is likely to be unique enough to identify it within a given subnet, after filtering out all local addresses. This is useful when you are managing configuration or results for a set of systems which share a common IP addressing scheme. This identifier should be stable as long as the node's addresses do not change. If you are needing an identifier for a node but wish to expose any address data, you can use thegetNodeFingerprint()which takes this value and hashes it with SHA-1 to produce a hex string.- Returns:
- A address for the node, likely to be unique and stable for its lifetime
-
getNodeFingerprint
Produce a stable string identifier consisting of hexadecimal characters. The internal data used for this value is based on a stable ordering of non-local ip addresses available on the system.- Returns:
- A stable node identifier
-
getHostSummary
-