public class DatabaseInitListener extends Object implements io.fabric8.kubernetes.client.dsl.ExecListener
| Modifier and Type | Field and Description |
|---|---|
private CountDownLatch |
latch |
private static org.slf4j.Logger |
LOGGER |
private String |
name |
| Constructor and Description |
|---|
DatabaseInitListener(String name,
CountDownLatch latch) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(int code,
String reason) |
void |
onFailure(Throwable t,
okhttp3.Response response) |
void |
onOpen(okhttp3.Response response) |
private static final org.slf4j.Logger LOGGER
private final String name
private final CountDownLatch latch
public DatabaseInitListener(String name, CountDownLatch latch)
public void onOpen(okhttp3.Response response)
onOpen in interface io.fabric8.kubernetes.client.dsl.ExecListenerpublic void onFailure(Throwable t, okhttp3.Response response)
onFailure in interface io.fabric8.kubernetes.client.dsl.ExecListenerpublic void onClose(int code,
String reason)
onClose in interface io.fabric8.kubernetes.client.dsl.ExecListenerCopyright © 2021 JBoss by Red Hat. All rights reserved.