Class MachineId

java.lang.Object
org.axonframework.update.detection.MachineId

@Internal public class MachineId extends Object
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 Details

    • MachineId

      public MachineId()
      Creates a new instance of MachineId.
  • Method Details

    • get

      public String get()
      Returns the unique machine ID. If it has not been initialized yet, it will initialize it first.
      Returns:
      The unique machine ID.