public class Service extends Object
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContainer(Container container,
ContainerType containerType) |
boolean |
addEntry(ServiceEntry entry) |
List<Call> |
calledBy() |
void |
calledBy(String serviceName,
Call call) |
void |
calls(String serviceName,
Call call) |
List<Call> |
callsTo() |
boolean |
equals(Object o) |
Optional<ServiceEntry> |
findServiceEntry(String name) |
Set<ContainerType> |
getContainerTypes() |
Integer |
getReplicationCount(ContainerType containerType) |
boolean |
hasEntry(String name) |
int |
hashCode() |
boolean |
isReference() |
public boolean hasEntry(String name)
public Optional<ServiceEntry> findServiceEntry(String name)
public boolean addEntry(ServiceEntry entry)
public void addContainer(Container container, ContainerType containerType)
public boolean isReference()
public Set<ContainerType> getContainerTypes()
public Integer getReplicationCount(ContainerType containerType)
Copyright © 2018. All rights reserved.