Class FlushInstancesConnectionPool
- java.lang.Object
-
- org.glassfish.connectors.admin.cli.FlushInstancesConnectionPool
-
- All Implemented Interfaces:
AdminCommand
@Service(name="flush-connection-pool") @PerLookup @TargetType({DOMAIN,DAS}) @ExecuteOn(DAS) public class FlushInstancesConnectionPool extends Object implements AdminCommand
The command to flush a connection pool.This command from 5.193 will poke all known instances and tell them to flush the connection pool. This occurs by sending the
Pre-5.193 functionality occurs in_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 aActionReport.ExitCode.WARNING
status code.FlushConnectionPoolLocal
which previously was only executed against the DAS.- Since:
- 5.193
- Author:
- jonathan coustick
- See Also:
FlushConnectionPoolLocal
-
-
Constructor Summary
Constructors Constructor Description FlushInstancesConnectionPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-