org.eclipse.jetty.util.component.LifeCycle.isStarting()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(122)

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

LifeCycle.isStarting介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.jetty/jetty-util

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: Nextdoor/bender

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

代码示例来源:origin: jenkinsci/winstone

public static String getState(LifeCycle lc)
{
  if (lc.isStarting()) return STARTING;
  if (lc.isStarted()) return STARTED;
  if (lc.isStopping()) return STOPPING;
  if (lc.isStopped()) return STOPPED;
  return FAILED;
}

相关文章