io.fabric8.kubernetes.client.utils.Utils.waitUntilReady()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中io.fabric8.kubernetes.client.utils.Utils.waitUntilReady()方法的一些代码示例,展示了Utils.waitUntilReady()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.waitUntilReady()方法的具体详情如下:
包路径:io.fabric8.kubernetes.client.utils.Utils
类名称:Utils
方法名:waitUntilReady

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);

相关文章