{{theTime}}

Search This Blog

Total Pageviews

How to add shutdown hook control c in Java

// Attach shutdown handler to catch control-c
        Runtime.getRuntime().addShutdownHook(new Thread("control c shutdown--hook") {
            @Override
            public void run() {
                  //Save and close if any object state require persistence.
            }
        });

No comments:

Setup AWS Application Load Balancer Https

Setting up HTTPS for an AWS Application Load Balancer (ALB) involves configuring an HTTPS listener, deploying an SSL certificate, and defini...