We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338a1b5 commit eff281aCopy full SHA for eff281a
examples/deployment/src/main/java/com/oracle/coherence/examples/Main.java
@@ -23,6 +23,7 @@
23
import io.helidon.webserver.WebServer;
24
25
import com.tangosol.net.CacheFactory;
26
+import com.tangosol.net.DefaultCacheServer;
27
import com.tangosol.util.QueryHelper;
28
29
/**
@@ -64,6 +65,7 @@ public static void main(String[] args) throws Exception {
64
65
.start()
66
.thenAccept(s -> {
67
System.out.println("HTTP server is UP! http://localhost:" + s.port());
68
+ DefaultCacheServer.startServerDaemon().waitForServiceStart();
69
s.whenShutdown().thenRun(() -> System.out.println("HTTP server is DOWN. Good bye!"));
70
})
71
.exceptionally(t -> {
0 commit comments