This class describes a microservice instance. The components of the class are the description of the microservice, an instance ID, and the target address of the instance.


The constructor takes the components: the microservice description, the instance ID, and the target ID.

public CMicroServiceInstance(@NotNull final CMicroServiceDescription aDescription,
                             @NotNull final IId aInstanceId,
                             @NotNull final CTargetAddress aTargetAddress);


The components can be fetched using getter methods.

public CMicroServiceDescription getDescription();

public IId getInstanceId();

public CTargetAddress getTargetAddress();


The class supports the equals and hashCode methods. - Innovative Distributed System