Class CloudFoundryInstanceIdGenerator
java.lang.Object
de.codecentric.boot.admin.server.services.CloudFoundryInstanceIdGenerator
- All Implemented Interfaces:
InstanceIdGenerator
Generates CF instance uniqueId "applicationId:instanceId" for CloudFoundry instance.
Uses a fallback InstanceIdGenerator when the metadata isn't present.
- Author:
- Tetsushi Awano
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateId(Registration registration) Generate an id based on the given Instance
-
Constructor Details
-
CloudFoundryInstanceIdGenerator
-
-
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
-