@Service(name="set-batch-runtime-configuration") @PerLookup @CommandLock(value=NONE) @ExecuteOn(value=DAS) @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG}) public class SetBatchRuntimeConfiguration extends Object implements AdminCommand
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
static int |
MAX_TABLE_LENGTH |
protected String |
target |
protected Target |
targetUtil |
Constructor and Description |
---|
SetBatchRuntimeConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
void |
validateDataSourceLookupName(AdminCommandContext context,
String targetName,
String dsLookupName) |
void |
validateExecutorServiceLookupName(AdminCommandContext context,
String targetName,
String exeLookupName) |
@Inject protected Logger logger
protected String target
@Inject protected Target targetUtil
public static final int MAX_TABLE_LENGTH
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationpublic void validateDataSourceLookupName(AdminCommandContext context, String targetName, String dsLookupName)
public void validateExecutorServiceLookupName(AdminCommandContext context, String targetName, String exeLookupName)
Copyright © 2021. All rights reserved.