本文整理了Java中io.fabric8.kubernetes.client.utils.Utils.waitUntilReady()
方法的一些代码示例,展示了Utils.waitUntilReady()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.waitUntilReady()
方法的具体详情如下:
包路径:io.fabric8.kubernetes.client.utils.Utils
类名称:Utils
方法名:waitUntilReady
[英]Wait until an other thread signals the completion of a task. If an exception is passed, it will be propagated to the caller.
[中]
代码示例来源:origin: fabric8io/kubernetes-client
public void waitUntilReady() {
Utils.waitUntilReady(queue, 10, TimeUnit.SECONDS);
}
代码示例来源:origin: fabric8io/kubernetes-client
public void waitUntilReady() {
Utils.waitUntilReady(queue, config.getWebsocketTimeout(), TimeUnit.MILLISECONDS);
}
代码示例来源:origin: fabric8io/kubernetes-client
public void waitUntilReady() {
if (!Utils.waitUntilReady(queue, config.getRequestTimeout(), TimeUnit.MILLISECONDS)) {
if (LOGGER.isDebugEnabled()) {
LOGGER.warn("Log watch request has not been opened within: " + config.getRequestTimeout() + " millis.");
}
}
}
代码示例来源:origin: fabric8io/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(tPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, rollingTimeout, rollingTimeUnit)) {
Log.debug("{}/{} pod(s) ready for {}: {} in namespace: {}.",
replicasRef.get(), count, getType().getSimpleName(), name, namespace);
代码示例来源:origin: fabric8io/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(deploymentPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, getConfig().getScaleTimeout(), TimeUnit.MILLISECONDS)) {
LOG.debug("{}/{} pod(s) ready for DeploymentConfig: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
代码示例来源:origin: fabric8io/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(deploymentPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, getConfig().getScaleTimeout(), TimeUnit.MILLISECONDS)) {
LOG.debug("{}/{} pod(s) ready for Deployment: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
代码示例来源:origin: org.domeos/kubernetes-client
public void waitUntilReady() {
Utils.waitUntilReady(queue, 10, TimeUnit.SECONDS);
}
代码示例来源:origin: org.domeos/kubernetes-client
public void waitUntilReady() {
Utils.waitUntilReady(queue, 10, TimeUnit.SECONDS);
}
代码示例来源:origin: org.domeos/kubernetes-client
public void waitUntilReady() {
Utils.waitUntilReady(queue, 10, TimeUnit.SECONDS);
}
代码示例来源:origin: org.domeos/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(rcPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, rollingTimeout, rollingTimeUnit)) {
LOG.debug("{}/{} pod(s) ready for ReplicationController: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
代码示例来源:origin: org.domeos/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(rcPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, rollingTimeout, rollingTimeUnit)) {
LOG.debug("{}/{} pod(s) ready for ReplicaSet: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
代码示例来源:origin: io.fabric8/openshift-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(deploymentPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, getConfig().getScaleTimeout(), TimeUnit.MILLISECONDS)) {
LOG.debug("{}/{} pod(s) ready for DeploymentConfig: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
代码示例来源:origin: org.domeos/kubernetes-client
ScheduledFuture poller = executor.scheduleWithFixedDelay(deploymentPoller, 0, POLL_INTERVAL_MS, TimeUnit.MILLISECONDS);
try {
if (Utils.waitUntilReady(queue, getConfig().getScaleTimeout(), TimeUnit.MILLISECONDS)) {
LOG.debug("{}/{} pod(s) ready for Deployment: {} in namespace: {}.",
replicasRef.get(), count, name, namespace);
内容来源于网络,如有侵权,请联系作者删除!