P
P
parkito2017-11-14 16:41:34
Java
parkito, 2017-11-14 16:41:34

How to pause the execution of a spring-boot application from code?

Whether there is an opportunity for a while from the code to achieve application stop (all flows) or konekshina to basis or operation of controllers?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PqDn, 2017-11-15
@PqDn

You can write an external application that will kill your process, and then when you need to restore it.
The easiest way is to write it in python or bash

H
Hland, 2017-11-15
@Hland

Through jmx, you can try to implement something similar. You will send a signal to slow down thread handlers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question