Skip to content
Snippets Groups Projects
Commit bd37a19f authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Renaming + implement waitExecution

parent 4cbe313b
No related branches found
No related tags found
6 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus,!81Feature/126 kafka communication,!79Feature/127 zookeeper communication,!78Resolve "Implement Quarkus/Kotlin protype"
package theodolite
class Run_uc {
fun wait_execution(execution_minutes :Integer){
return
class RunUc {
fun waitExecution(executionMinutes: Int) {
var milliToMinutes = 60000
System.out.println("Wait while executing")
for (i in 1.rangeTo(executionMinutes)) {
Thread.sleep((milliToMinutes*i).toLong());
System.out.println("Executed: "+i.toString()+" minutes")
}
System.out.println("Execution finished")
}
fun create_topics(topics: List<Pair<String,String>>){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment