public final class DatabaseConnectionPoolMethods extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsConnectionWithName(String name) |
static void |
deletePool(String name) |
static void |
disablePool(String name) |
static void |
enablePool(String name) |
static io.toro.gloop.object.property.GloopModel |
getConnectionPoolInfo(String name) |
static io.toro.gloop.object.property.GloopModel |
getConnectionPoolInfos() |
static io.toro.gloop.object.property.GloopModel |
getSystemConnectionPoolInfo(String name) |
static void |
savePool(io.toro.gloop.object.property.GloopModel connectionPoolInfo) |
static void |
startPool(String name) |
static void |
stopPool(String name) |
static boolean |
supportsDriver(Class driverClass) |
static void |
testConnection(io.toro.gloop.object.property.GloopModel connectionPoolInfo) |
@GloopObjectParameter(value="connectionPoolInfos{\n connectionPoolInfos#io.toro.martini.jdbc.JDBCConnectionPoolInfo[]{\n }\n}") public static io.toro.gloop.object.property.GloopModel getConnectionPoolInfos()
@GloopObjectParameter(value="connectionPoolInfo{\n connectionPoolInfo#io.toro.martini.jdbc.JDBCConnectionPoolInfo{\n }\n}") public static io.toro.gloop.object.property.GloopModel getConnectionPoolInfo(@GloopParameter(allowNull=false) String name)
public static boolean containsConnectionWithName(@GloopParameter(allowNull=false) String name)
public static void enablePool(@GloopParameter(allowNull=false) String name)
public static void startPool(@GloopParameter(allowNull=false) String name)
public static void stopPool(@GloopParameter(allowNull=false) String name)
public static void disablePool(@GloopParameter(allowNull=false) String name)
public static void savePool(@GloopObjectParameter(value="connectionPoolInfo#io.toro.martini.jdbc.JDBCConnectionPoolInfo{\n}") io.toro.gloop.object.property.GloopModel connectionPoolInfo)
public static void deletePool(@GloopParameter(allowNull=false) String name)
public static void testConnection(@GloopObjectParameter(value="connectionPoolInfo#io.toro.martini.jdbc.JDBCConnectionPoolInfo{\n}") io.toro.gloop.object.property.GloopModel connectionPoolInfo) throws Exception
Exception
@GloopComment(value="Determines whether the application supports the driver class") public static boolean supportsDriver(@GloopParameter(allowNull=false) Class driverClass)
@GloopObjectParameter(value="connectionPoolInfo{\n connectionPoolInfo#io.toro.martini.jdbc.JDBCConnectionPoolInfo{\n }\n}") @GloopComment(value="Gets the information for a system datasource, if none exists with the given name, one is created") public static io.toro.gloop.object.property.GloopModel getSystemConnectionPoolInfo(@GloopParameter(allowNull=false) String name)
Copyright © 2019. All rights reserved.