Class MachineId
java.lang.Object
org.axonframework.update.detection.MachineId
Loads and stores a unique machine ID in the user's home directory.
This ID is used to identify the machine for usage tracking purposes.
If the ID can't be stored or read, it will generate a new UUID.
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MachineId
public MachineId()Creates a new instance ofMachineId.
-
-
Method Details
-
get
Returns the unique machine ID. If it has not been initialized yet, it will initialize it first.- Returns:
- The unique machine ID.
-