CMicroServiceInstance

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.

Constructor

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);

Getter

The components can be fetched using getter methods.

@NotNull
public CMicroServiceDescription getDescription();

@NotNull
public IId getInstanceId();

@NotNull
public CTargetAddress getTargetAddress();

Notice

The class supports the equals and hashCode methods.

nyssr.net - Innovative Distributed System