@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class MinimumInstanceChecker extends Object
Constructor and Description |
---|
MinimumInstanceChecker() |
Modifier and Type | Method and Description |
---|---|
static void |
checkForMinimumInstances() |
static int |
countCurrentNumberOfAgents(ECSTemplate agentTemplate) |
static int |
countCurrentNumberOfProvisioningAgents(ECSTemplate agentTemplate) |
static int |
countCurrentNumberOfSpareAgents(ECSTemplate agentTemplate) |
static int |
countQueueItemsForAgentTemplate(ECSTemplate agentTemplate) |
public static Clock clock
public static int countCurrentNumberOfAgents(@Nonnull ECSTemplate agentTemplate)
public static int countCurrentNumberOfSpareAgents(@Nonnull ECSTemplate agentTemplate)
public static int countCurrentNumberOfProvisioningAgents(@Nonnull ECSTemplate agentTemplate)
public static int countQueueItemsForAgentTemplate(@Nonnull ECSTemplate agentTemplate)
public static void checkForMinimumInstances()
Copyright © 2016–2021. All rights reserved.