@Service(name="flush-connection-pool") @PerLookup @TargetType(value={DOMAIN,DAS}) @ExecuteOn(value=DAS) public class FlushInstancesConnectionPool extends Object implements AdminCommand
This command from 5.193 will poke all known instances and tell them to flush the connection pool.
This occurs by sending the _flush-connection-pool command to them. If that command fails
on any instance (i.e. because the pool is not initialised/not in use on that instance) that this
command will return with a ActionReport.ExitCode.WARNING status code.
FlushConnectionPoolLocal which previously was only executed against the DAS.FlushConnectionPoolLocal| Constructor and Description |
|---|
FlushInstancesConnectionPool() |
| 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
|
public void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationCopyright © 2019. All rights reserved.