@Service(name="clear-cache") @PerLookup @CommandLock(value=NONE) @ExecuteOn(value=INSTANCE) @TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DEPLOYMENT_GROUP}) public class ClearCache extends Object implements AdminCommand
Modifier and Type | Field and Description |
---|---|
protected String |
cacheKey |
protected String |
cacheName |
protected String |
target |
protected Target |
targetUtil |
Constructor and Description |
---|
ClearCache() |
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
|
@Inject protected Target targetUtil
protected String target
protected String cacheName
protected String cacheKey
public void execute(AdminCommandContext context)
AdminCommand
execute
in interface AdminCommand
context
- informationCopyright © 2020. All rights reserved.