Codota Logo
StabilityStatistics.getOnDemandCount
Code IndexAdd Codota to your IDE (free)

How to use
getOnDemandCount
method
in
org.jboss.msc.service.StabilityStatistics

Best Java code snippets using org.jboss.msc.service.StabilityStatistics.getOnDemandCount (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.wildfly/wildfly-server

protected void done(final long bootstrapTime, final StabilityStatistics statistics) {
  futureContainer.done(serviceContainer);
  if (serviceContainer.isShutdown()) {
    // Do not print boot statistics because server
    // received shutdown signal during the boot process.
    return;
  }
  logAdminConsole();
  final int active = statistics.getActiveCount();
  final int failed = statistics.getFailedCount();
  final int lazy = statistics.getLazyCount();
  final int never = statistics.getNeverCount();
  final int onDemand = statistics.getOnDemandCount();
  final int passive = statistics.getPassiveCount();
  final int problem = statistics.getProblemsCount();
  final int started = statistics.getStartedCount();
  if (failed == 0 && problem == 0) {
    ServerLogger.AS_ROOT_LOGGER.startedClean(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, onDemand + passive + lazy);
  } else {
    ServerLogger.AS_ROOT_LOGGER.startedWitErrors(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, failed + problem, onDemand + passive + lazy);
  }
}
origin: wildfly/wildfly-core

private void done(final long bootstrapTime, final StabilityStatistics statistics) {
  futureContainer.done(serviceContainer);
  if (serviceContainer.isShutdown()) {
    // Do not print boot statistics because server
    // received shutdown signal during the boot process.
    return;
  }
  logAdminConsole();
  final int active = statistics.getActiveCount();
  final int failed = statistics.getFailedCount();
  final int lazy = statistics.getLazyCount();
  final int never = statistics.getNeverCount();
  final int onDemand = statistics.getOnDemandCount();
  final int passive = statistics.getPassiveCount();
  final int problem = statistics.getProblemsCount();
  final int started = statistics.getStartedCount();
  if (failed == 0 && problem == 0) {
    ServerLogger.AS_ROOT_LOGGER.startedClean(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, onDemand + passive + lazy);
    createStartupMarker("success", startTime);
  } else {
    ServerLogger.AS_ROOT_LOGGER.startedWitErrors(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, failed + problem, onDemand + passive + lazy);
    createStartupMarker("error", startTime);
  }
}
origin: org.wildfly.core/wildfly-server

private void done(final long bootstrapTime, final StabilityStatistics statistics) {
  futureContainer.done(serviceContainer);
  if (serviceContainer.isShutdown()) {
    // Do not print boot statistics because server
    // received shutdown signal during the boot process.
    return;
  }
  logAdminConsole();
  final int active = statistics.getActiveCount();
  final int failed = statistics.getFailedCount();
  final int lazy = statistics.getLazyCount();
  final int never = statistics.getNeverCount();
  final int onDemand = statistics.getOnDemandCount();
  final int passive = statistics.getPassiveCount();
  final int problem = statistics.getProblemsCount();
  final int started = statistics.getStartedCount();
  if (failed == 0 && problem == 0) {
    ServerLogger.AS_ROOT_LOGGER.startedClean(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, onDemand + passive + lazy);
    createStartupMarker("success", startTime);
  } else {
    ServerLogger.AS_ROOT_LOGGER.startedWitErrors(prettyVersion, bootstrapTime, started, active + passive + onDemand + never + lazy, failed + problem, onDemand + passive + lazy);
    createStartupMarker("error", startTime);
  }
}
org.jboss.msc.serviceStabilityStatisticsgetOnDemandCount

Javadoc

Returns count of controllers registered with StabilityMonitor that are in ServiceController.Mode#ON_DEMAND mode.

Popular methods of StabilityStatistics

  • <init>
  • getActiveCount
    Returns count of controllers registered with StabilityMonitor that are in ServiceController.Mode#ACT
  • getFailedCount
    Returns count of controllers registered with StabilityMonitor that failed to start because of start
  • getLazyCount
    Returns count of controllers registered with StabilityMonitor that are in ServiceController.Mode#LAZ
  • getNeverCount
    Returns count of controllers registered with StabilityMonitor that are in ServiceController.Mode#NEV
  • getPassiveCount
    Returns count of controllers registered with StabilityMonitor that are in ServiceController.Mode#PAS
  • getProblemsCount
    Returns count of controllers registered with StabilityMonitor that had problem to start because of m
  • getStartedCount
    Returns count of controllers registered with StabilityMonitor that are in ServiceController.State#UP
  • setActiveCount
  • setFailedCount
  • setLazyCount
  • setNeverCount
  • setLazyCount,
  • setNeverCount,
  • setOnDemandCount,
  • setPassiveCount,
  • setProblemsCount,
  • setStartedCount

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • String (java.lang)
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • JComboBox (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now