Klasse DockerService
java.lang.Object
de.dlr.proseo.monitor.microservice.DockerService
Represent a docker "machine" to check status of a service
- Autor:
- Melchinger
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInstantiate the docker service -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
check
(MicroService ms, MonitorServices monitor) Checck whether the service is running on this dockergetIp()
getName()
getPort()
-
Konstruktordetails
-
DockerService
Instantiate the docker service- Parameter:
docker
- A docker machine defined in monitor configuration (application.yml)
-
-
Methodendetails
-
getName
- Gibt zurück:
- the name
-
getIp
- Gibt zurück:
- the ip
-
getPort
- Gibt zurück:
- the port
-
getApiVersion
- Gibt zurück:
- the docker
-
check
Checck whether the service is running on this docker- Parameter:
ms
- A micro servicemonitor
- The basic Monitor thread
-