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