StackOverflow Questions for Tag: shutdown-hook

cejkapa4
cejkapa4

Reputation: 23

How to correctly read shutdown hook using Process in Java

Score: 0

Views: 66

Answers: 1

Read More
Balkrishna Rawool
Balkrishna Rawool

Reputation: 1863

Interrupting a thread from ShutdownHook doesn't close resources

Score: 0

Views: 48

Answers: 1

Read More
Kulkarni Sachin
Kulkarni Sachin

Reputation: 313

How to terminate tests in TestNG ANT task gracefully?

Score: 0

Views: 26

Answers: 0

Read More
Pranav
Pranav

Reputation: 323

Java shutdown hook call on windows shut down

Score: 3

Views: 2718

Answers: 3

Read More
Chris Mazzola
Chris Mazzola

Reputation: 5897

Detect windows logout event in Java application

Score: 2

Views: 4325

Answers: 4

Read More
Nathan
Nathan

Reputation: 8971

How to Debug a SIGTERM that Causes Abrupt Helidon Server Shutdown

Score: 0

Views: 146

Answers: 0

Read More
user2455862
user2455862

Reputation: 676

Getting BeanCreationNotAllowedException on spring graceful shutdown

Score: 0

Views: 4905

Answers: 1

Read More
cozos
cozos

Reputation: 945

Do Java shutdown hooks get called on Heap OOM?

Score: 2

Views: 798

Answers: 1

Read More
simonC
simonC

Reputation: 4337

Controlling Spring Boot graceful shutdown

Score: 7

Views: 6823

Answers: 1

Read More
Ankush
Ankush

Reputation: 9

Executing a task in java before system shutdown

Score: 0

Views: 108

Answers: 0

Read More
Mark Rotteveel
Mark Rotteveel

Reputation: 109240

Library shutdown routine that works well in a "normal" Java application and in a web application

Score: 11

Views: 633

Answers: 1

Read More
Ankush Chaudhary
Ankush Chaudhary

Reputation: 11

Java shutdown hook not working on system shutdown

Score: -1

Views: 200

Answers: 1

Read More
Tomas Bisciak
Tomas Bisciak

Reputation: 2851

Using JavaFX Application.stop() method over Shutdownhook

Score: 16

Views: 14708

Answers: 1

Read More
Rajat
Rajat

Reputation: 151

Universal connection Pool shuts down automatically before application shutdown hook executes

Score: 2

Views: 307

Answers: 0

Read More
programmer
programmer

Reputation: 165

How not to close Hikari pool right after Spring application gets close signal?

Score: 2

Views: 2021

Answers: 0

Read More
Audio01
Audio01

Reputation: 183

Run a script only at shutdown (not log off or restart) on Mac OS X

Score: 18

Views: 20465

Answers: 5

Read More
chiperortiz
chiperortiz

Reputation: 4991

Java there is a way to guarantee a shutdown hook finish?

Score: -1

Views: 264

Answers: 1

Read More
Biscuit128
Biscuit128

Reputation: 5408

Why is @PreDestroy being invoked

Score: 1

Views: 267

Answers: 0

Read More
Aurelien
Aurelien

Reputation: 367

Is shutdown-hook a good practice?

Score: 0

Views: 260

Answers: 1

Read More
fo_x86
fo_x86

Reputation: 2623

How to ensure a piece of code is run before exiting a java application

Score: 7

Views: 6140

Answers: 4

Read More
PreviousPage 1Next