Class HashingInstanceUrlIdGenerator
java.lang.Object
de.codecentric.boot.admin.server.services.HashingInstanceUrlIdGenerator
- All Implemented Interfaces:
InstanceIdGenerator
Generates an SHA-1 Hash based on the instance health url.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateId(Registration registration) Generate an id based on the given Instance
-
Constructor Details
-
HashingInstanceUrlIdGenerator
public HashingInstanceUrlIdGenerator()
-
-
Method Details
-
generateId
Description copied from interface:InstanceIdGeneratorGenerate an id based on the given Instance- Specified by:
generateIdin interfaceInstanceIdGenerator- Parameters:
registration- the registration the id is computed for.- Returns:
- the instance id
-