Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

addProperty(String, boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Add a driver property.
addProperty(String, boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
addProperty(String, int) - Method in interface io.ebean.datasource.DataSourceBuilder
Add a driver property.
addProperty(String, int) - Method in class io.ebean.datasource.DataSourceConfig
 
addProperty(String, String) - Method in interface io.ebean.datasource.DataSourceBuilder
Add a driver property.
addProperty(String, String) - Method in class io.ebean.datasource.DataSourceConfig
 
alert(DataSourceAlert) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the alert implementation to use.
alsoIf(BooleanSupplier, Consumer<DataSourceBuilder.Settings>) - Method in interface io.ebean.datasource.DataSourceBuilder
Conditionally apply configuration to the builder via a lambda.
applicationName(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the ClientInfo ApplicationName property.
apply(Consumer<DataSourceBuilder.Settings>) - Method in interface io.ebean.datasource.DataSourceBuilder
Apply configuration to the builder via a lambda.
apply(Consumer<DataSourceBuilder.Settings>) - Method in class io.ebean.datasource.DataSourceConfig
 
autoCommit(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set to true to turn on autoCommit.

B

build() - Method in interface io.ebean.datasource.DataSourceBuilder
Build and return the DataSourcePool.
build() - Method in class io.ebean.datasource.DataSourceConfig
 
builder() - Static method in interface io.ebean.datasource.DataSourcePool
Return a builder for the DataSourcePool.
busy() - Method in interface io.ebean.datasource.PoolStatus
Return number of busy connections.

C

captureStackTrace(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set to true if a stack trace should be captured when obtaining a connection from the pool.
catalog() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database catalog.
catalog() - Method in class io.ebean.datasource.DataSourceConfig
 
catalog(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the default database catalog to use.
catalog(String) - Method in class io.ebean.datasource.DataSourceConfig
 
clientInfo(Properties) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the ClientInfo as properties.
ConnectionPoolExhaustedException - Exception Class in io.ebean.datasource
This exception is thrown, if the connection pool has reached maxSize.
ConnectionPoolExhaustedException(String) - Constructor for exception class io.ebean.datasource.ConnectionPoolExhaustedException
 
connectionProperties() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the connection properties including credentials and custom parameters.
connectionProperties() - Method in class io.ebean.datasource.DataSourceConfig
 
copy() - Method in interface io.ebean.datasource.DataSourceBuilder
Return a copy of the DataSourceBuilder.
copy() - Method in class io.ebean.datasource.DataSourceConfig
 
create() - Static method in interface io.ebean.datasource.DataSourceBuilder
Return a new builder of DataSourcePool.
create(String, DataSourceConfig) - Static method in interface io.ebean.datasource.DataSourceFactory
Create the DataSourcePool given the name and configuration.
createAlert() - Method in interface io.ebean.datasource.DataSourceAlertFactory
Create a DataSourceAlert for notifications when DataSource down and up are detected.
createPool(String, DataSourceConfig) - Method in interface io.ebean.datasource.DataSourceFactory
 
cstmtCacheSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the size of the CallableStatement cache (per connection).
customProperties(Map<String, String>) - Method in interface io.ebean.datasource.DataSourceBuilder
Set custom properties for the jdbc driver connection.

D

dataSource() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return a DataSource that will be used to provide new connections or null.
dataSource() - Method in class io.ebean.datasource.DataSourceConfig
 
dataSource(DataSource) - Method in interface io.ebean.datasource.DataSourceBuilder
Set a DataSource that will be used to provide new connections.
dataSource(DataSource) - Method in class io.ebean.datasource.DataSourceConfig
 
DataSourceAlert - Interface in io.ebean.datasource
Listener for notifications about the DataSource such as when the DataSource goes down, up or gets close to it's maximum size.
DataSourceAlertFactory - Interface in io.ebean.datasource
Service factory for creating DataSourceAlert implementation.
DataSourceBuilder - Interface in io.ebean.datasource
Builder for DataSourcePool.
DataSourceBuilder.Settings - Interface in io.ebean.datasource
The settings of the DataSourceBuilder.
DataSourceConfig - Class in io.ebean.datasource
Configuration information for a DataSource.
DataSourceConfig() - Constructor for class io.ebean.datasource.DataSourceConfig
 
DataSourceConfigurationException - Exception Class in io.ebean.datasource
Exception that can be thrown when the datasource is not correctly configured.
DataSourceConfigurationException(String) - Constructor for exception class io.ebean.datasource.DataSourceConfigurationException
 
DataSourceConfigurationException(String, Throwable) - Constructor for exception class io.ebean.datasource.DataSourceConfigurationException
 
dataSourceDown(DataSource, SQLException) - Method in interface io.ebean.datasource.DataSourceAlert
Send an alert to say the dataSource is down.
dataSourceDownReason() - Method in interface io.ebean.datasource.DataSourcePool
Returns the reason, why the dataSource is down.
DataSourceFactory - Interface in io.ebean.datasource
Factory that creates DataSourcePool's.
DataSourceInitialiseException - Exception Class in io.ebean.datasource
Exception that can be thrown when the datasource fails to be created.
DataSourceInitialiseException(String) - Constructor for exception class io.ebean.datasource.DataSourceInitialiseException
 
DataSourceInitialiseException(String, Throwable) - Constructor for exception class io.ebean.datasource.DataSourceInitialiseException
 
DataSourcePool - Interface in io.ebean.datasource
DataSource pool API.
DataSourcePoolListener - Interface in io.ebean.datasource
A DataSourcePool listener which allows you to hook on the borrow/return process of getting or returning connections from the pool.
dataSourceUp(DataSource) - Method in interface io.ebean.datasource.DataSourceAlert
Send an alert to say the dataSource is back up.
driver() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the driver instance to use.
driver() - Method in class io.ebean.datasource.DataSourceConfig
 
driver(Class<? extends Driver>) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the driver class to use.
driver(Class<? extends Driver>) - Method in class io.ebean.datasource.DataSourceConfig
 
driver(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database driver className.
driver(Driver) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the driver to use.
driver(Driver) - Method in class io.ebean.datasource.DataSourceConfig
 
driverClass() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the driver class to use (if an instance is not provided).
driverClass() - Method in class io.ebean.datasource.DataSourceConfig
 
driverClassName() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database driver className to use (if an driver instance or class is not provided).

E

enforceCleanClose() - Method in interface io.ebean.datasource.DataSourceBuilder
When true, an exception is thrown when a dirty connection is closed.
enforceCleanClose() - Method in class io.ebean.datasource.DataSourceConfig
 
enforceCleanClose(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
When enabled, the datasource enforces a clean close.
enforceCleanClose(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 

F

failOnStart(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set to false, if DataSource should not fail on start.
free() - Method in interface io.ebean.datasource.PoolStatus
Return number of free connections.
from(Properties) - Static method in interface io.ebean.datasource.DataSourceBuilder
Return a new builder loading from the given properties.
from(Properties, String) - Static method in interface io.ebean.datasource.DataSourceBuilder
Return a new builder loading from the given properties using a given prefix.

G

getAlert() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the alert implementation to use.
getAlert() - Method in class io.ebean.datasource.DataSourceConfig
 
getApplicationName() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the clientInfo ApplicationName property.
getApplicationName() - Method in class io.ebean.datasource.DataSourceConfig
 
getClientInfo() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the clientInfo ApplicationName property.
getClientInfo() - Method in class io.ebean.datasource.DataSourceConfig
 
getCstmtCacheSize() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the size of the CallableStatement cache (per connection).
getCstmtCacheSize() - Method in class io.ebean.datasource.DataSourceConfig
 
getCustomProperties() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return a map of custom properties for the jdbc driver connection.
getCustomProperties() - Method in class io.ebean.datasource.DataSourceConfig
 
getDriver() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Deprecated, for removal: This API element is subject to removal in a future version.
getDriver() - Method in class io.ebean.datasource.DataSourceConfig
 
getHeartbeatFreqSecs() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the heartbeat frequency in seconds.
getHeartbeatFreqSecs() - Method in class io.ebean.datasource.DataSourceConfig
 
getHeartbeatMaxPoolExhaustedCount() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the number, how often the heartbeat has to detect pool exhaustion in succession.
getHeartbeatMaxPoolExhaustedCount() - Method in class io.ebean.datasource.DataSourceConfig
 
getHeartbeatSql() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return a SQL statement used to test the database is accessible.
getHeartbeatSql() - Method in class io.ebean.datasource.DataSourceConfig
 
getHeartbeatTimeoutSeconds() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the heart beat timeout in seconds.
getHeartbeatTimeoutSeconds() - Method in class io.ebean.datasource.DataSourceConfig
 
getInitDatabase() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the InitDatabase to use with ownerUsername.
getInitDatabase() - Method in class io.ebean.datasource.DataSourceConfig
 
getInitialConnections() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the number of initial connections to create on startup.
getInitialConnections() - Method in class io.ebean.datasource.DataSourceConfig
 
getInitSql() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return a list of init queries, that are executed after a connection is opened.
getInitSql() - Method in class io.ebean.datasource.DataSourceConfig
 
getIsolationLevel() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the transaction isolation level.
getIsolationLevel() - Method in class io.ebean.datasource.DataSourceConfig
 
getLeakTimeMinutes() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the time in minutes after which a connection could be considered to have leaked.
getLeakTimeMinutes() - Method in class io.ebean.datasource.DataSourceConfig
 
getListener() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the listener to use.
getListener() - Method in class io.ebean.datasource.DataSourceConfig
 
getMaxAgeMinutes() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the maximum age a connection is allowed to be before it is closed.
getMaxAgeMinutes() - Method in class io.ebean.datasource.DataSourceConfig
 
getMaxConnections() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the maximum number of connections the pool can reach.
getMaxConnections() - Method in class io.ebean.datasource.DataSourceConfig
 
getMaxInactiveTimeSecs() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the time in seconds a connection can be idle after which it can be trimmed from the pool.
getMaxInactiveTimeSecs() - Method in class io.ebean.datasource.DataSourceConfig
 
getMaxStackTraceSize() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the max size for reporting stack traces on busy connections.
getMaxStackTraceSize() - Method in class io.ebean.datasource.DataSourceConfig
 
getMinConnections() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the minimum number of connections the pool should maintain.
getMinConnections() - Method in class io.ebean.datasource.DataSourceConfig
 
getOwnerPassword() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database owner password.
getOwnerPassword() - Method in class io.ebean.datasource.DataSourceConfig
 
getOwnerUsername() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database owner username.
getOwnerUsername() - Method in class io.ebean.datasource.DataSourceConfig
 
getPassword() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database password.
getPassword() - Method in class io.ebean.datasource.DataSourceConfig
 
getPassword2() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database alternate password2.
getPassword2() - Method in class io.ebean.datasource.DataSourceConfig
 
getPlatform() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database platform.
getPlatform() - Method in class io.ebean.datasource.DataSourceConfig
 
getPoolListener() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the pool listener.
getPoolListener() - Method in class io.ebean.datasource.DataSourceConfig
 
getPstmtCacheSize() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the size of the PreparedStatement cache (per connection).
getPstmtCacheSize() - Method in class io.ebean.datasource.DataSourceConfig
 
getReadOnlyUrl() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the read-only URL to use for creating a matching read only DataSource.
getReadOnlyUrl() - Method in class io.ebean.datasource.DataSourceConfig
 
getSchema() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database username.
getSchema() - Method in class io.ebean.datasource.DataSourceConfig
 
getTrimPoolFreqSecs() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the minimum time gap between pool trim checks.
getTrimPoolFreqSecs() - Method in class io.ebean.datasource.DataSourceConfig
 
getUrl() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the connection URL.
getUrl() - Method in class io.ebean.datasource.DataSourceConfig
 
getUsername() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the database username.
getUsername() - Method in class io.ebean.datasource.DataSourceConfig
 
getWaitTimeoutMillis() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the time in millis to wait for a connection before timing out once the pool has reached its maximum size.
getWaitTimeoutMillis() - Method in class io.ebean.datasource.DataSourceConfig
 

H

heartbeatFreqSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the expected heartbeat frequency in seconds.
heartbeatMaxPoolExhaustedCount(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Sets the coun how often the heartbeat has to detect pool exhaustion in succession.
heartbeatMaxPoolExhaustedCount(int) - Method in class io.ebean.datasource.DataSourceConfig
 
heartbeatSql(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set a SQL statement used to test the database is accessible.
heartbeatTimeoutSeconds(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the heart beat timeout in seconds.
highWaterMark() - Method in interface io.ebean.datasource.PoolStatus
Return the busy connection highwater mark.
hitCount() - Method in interface io.ebean.datasource.PoolStatus
Return the hit count against the pool.

I

initDatabase(InitDatabase) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the InitDatabase to use with ownerUsername.
InitDatabase - Interface in io.ebean.datasource
Run database initialisation when a pool can't create the initial connections (user may not exist).
initDatabaseForPlatform(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set InitDatabase based on the database platform.
initialConnections(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the number of initial connections to create when starting.
initialConnections(int) - Method in class io.ebean.datasource.DataSourceConfig
 
initSql(List<String>) - Method in interface io.ebean.datasource.DataSourceBuilder
Set custom init queries for each query.
io.ebean.datasource - package io.ebean.datasource
 
io.ebean.datasource.api - module io.ebean.datasource.api
 
isAutoCommit() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return autoCommit setting.
isAutoCommit() - Method in class io.ebean.datasource.DataSourceConfig
 
isAutoCommit() - Method in interface io.ebean.datasource.DataSourcePool
Return true if the pool defaults to using autocommit.
isCaptureStackTrace() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return true if a stack trace should be captured when obtaining a connection from the pool.
isCaptureStackTrace() - Method in class io.ebean.datasource.DataSourceConfig
 
isDataSourceUp() - Method in interface io.ebean.datasource.DataSourcePool
Returns false when the dataSource is down.
isEmpty() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return true if there are no values set for any of url, username, password or driver.
isEmpty() - Method in class io.ebean.datasource.DataSourceConfig
 
isFailOnStart() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return true (default) if the DataSource should be fail on start.
isFailOnStart() - Method in class io.ebean.datasource.DataSourceConfig
 
isOffline() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return true if the DataSource should be left offline.
isOffline() - Method in class io.ebean.datasource.DataSourceConfig
 
isolationLevel(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the transaction isolation level.
isOnline() - Method in interface io.ebean.datasource.DataSourcePool
Return true if the DataSource is online.
isReadOnly() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return the read only setting.
isReadOnly() - Method in class io.ebean.datasource.DataSourceConfig
 
isShutdownOnJvmExit() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Shut down pool on JVM exit.
isShutdownOnJvmExit() - Method in class io.ebean.datasource.DataSourceConfig
 
isValidateOnHeartbeat() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
When true validate the pool when the heartbeat runs.
isValidateOnHeartbeat() - Method in class io.ebean.datasource.DataSourceConfig
 

L

leakTimeMinutes(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the time in minutes after which a connection could be considered to have leaked.
listener(DataSourcePoolListener) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the listener to use.
load(Properties) - Method in interface io.ebean.datasource.DataSourceBuilder
Load the settings from the properties with no prefix on the property names.
load(Properties) - Method in class io.ebean.datasource.DataSourceConfig
 
load(Properties, String) - Method in interface io.ebean.datasource.DataSourceBuilder
Load the settings from the properties with the given prefix on the property names.
load(Properties, String) - Method in class io.ebean.datasource.DataSourceConfig
 
loadSettings(Properties, String) - Method in interface io.ebean.datasource.DataSourceBuilder
Load the settings from the properties with "datasource" prefix on the property names.
loadSettings(Properties, String) - Method in class io.ebean.datasource.DataSourceConfig
 

M

maxAcquireMicros() - Method in interface io.ebean.datasource.PoolStatus
Return the max acquire time in micros.
maxAgeMinutes(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the maximum age a connection can be in minutes.
maxConnections(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the maximum number of connections the pool can reach.
maxInactiveTimeSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the time in seconds a connection can be idle after which it can be trimmed from the pool.
maxSize() - Method in interface io.ebean.datasource.PoolStatus
Return the pools maximum size.
maxStackTraceSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the max size for reporting stack traces on busy connections.
meanAcquireNanos() - Method in interface io.ebean.datasource.PoolStatus
Return the mean acquire time in nanos.
minConnections(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the minimum number of connections the pool should maintain.
minSize() - Method in interface io.ebean.datasource.PoolStatus
Return the pools minimum size.

N

name() - Method in interface io.ebean.datasource.DataSourcePool
Return the dataSource name.
name(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the data source pool name.

O

offline() - Method in interface io.ebean.datasource.DataSourcePool
Take the DataSource offline closing all connections and stopping heart beat checking.
offline(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set to true if the DataSource should be started offline (without any connections).
onAfterBorrowConnection(Connection) - Method in interface io.ebean.datasource.DataSourcePoolListener
Called after a connection has been retrieved from the connection pool
onBeforeReturnConnection(Connection) - Method in interface io.ebean.datasource.DataSourcePoolListener
Called before a connection will be put back to the connection pool
online() - Method in interface io.ebean.datasource.DataSourcePool
Bring the DataSource online ensuring min connections and start heart beat checking.
ownerPassword(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database owner password (used to create connection for use with InitDatabase).
ownerUsername(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database owner username (used to create connection for use with InitDatabase).

P

password(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database password.
password2(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database alternate password2.
platform(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database platform (for use with ownerUsername and InitDatabase.
poolListener(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set a pool listener.
PoolStatus - Interface in io.ebean.datasource
Current status of the DataSourcePool.
PostgresInitDatabase - Class in io.ebean.datasource
Creates a schema and role using the database owner.
PostgresInitDatabase() - Constructor for class io.ebean.datasource.PostgresInitDatabase
 
pstmtCacheSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the size of the PreparedStatement cache (per connection).

R

readOnly(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set to true to for read only.
readOnlyUrl(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the connection URL to use for a matching read-only connection pool.
run(Connection, DataSourceConfig) - Method in interface io.ebean.datasource.InitDatabase
Execute some database initialisation statements on a database where the user may not exist.
run(Connection, DataSourceConfig) - Method in class io.ebean.datasource.PostgresInitDatabase
 

S

schema(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the default database schema to use.
setAlert(DataSourceAlert) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setAlert(DataSourceAlert) - Method in class io.ebean.datasource.DataSourceConfig
 
setApplicationName(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setApplicationName(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setAutoCommit(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setAutoCommit(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
setCaptureStackTrace(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setCaptureStackTrace(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
setClientInfo(Properties) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setClientInfo(Properties) - Method in class io.ebean.datasource.DataSourceConfig
 
setCstmtCacheSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setCstmtCacheSize(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setCustomProperties(Map<String, String>) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setCustomProperties(Map<String, String>) - Method in class io.ebean.datasource.DataSourceConfig
 
setDefaults(DataSourceBuilder) - Method in interface io.ebean.datasource.DataSourceBuilder
Default the values for driver, url, username, password and minConnections from another builder if these properties not already been set.
setDefaults(DataSourceBuilder) - Method in class io.ebean.datasource.DataSourceConfig
 
setDriver(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setDriver(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setFailOnStart(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setFailOnStart(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
setHeartbeatFreqSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setHeartbeatFreqSecs(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setHeartbeatSql(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setHeartbeatSql(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setHeartbeatTimeoutSeconds(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setHeartbeatTimeoutSeconds(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setInitDatabase(InitDatabase) - Method in interface io.ebean.datasource.DataSourceBuilder
setInitDatabase(InitDatabase) - Method in class io.ebean.datasource.DataSourceConfig
 
setInitDatabaseForPlatform(String) - Method in interface io.ebean.datasource.DataSourceBuilder
setInitDatabaseForPlatform(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setInitSql(List<String>) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setInitSql(List<String>) - Method in class io.ebean.datasource.DataSourceConfig
 
setIsolationLevel(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setIsolationLevel(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setLeakTimeMinutes(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setLeakTimeMinutes(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setListener(DataSourcePoolListener) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setListener(DataSourcePoolListener) - Method in class io.ebean.datasource.DataSourceConfig
 
setMaxAgeMinutes(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setMaxAgeMinutes(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setMaxConnections(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setMaxConnections(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setMaxInactiveTimeSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
setMaxInactiveTimeSecs(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setMaxSize(int) - Method in interface io.ebean.datasource.DataSourcePool
Set a new maximum size.
setMaxStackTraceSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setMaxStackTraceSize(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setMinConnections(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setMinConnections(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setName(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setName(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setOffline(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setOffline(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
setOwnerPassword(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setOwnerPassword(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setOwnerUsername(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setOwnerUsername(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setPassword(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setPassword(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setPassword2(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setPassword2(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setPlatform(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setPlatform(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setPoolListener(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setPoolListener(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setPstmtCacheSize(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setPstmtCacheSize(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setReadOnly(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setReadOnly(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
setReadOnlyUrl(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setReadOnlyUrl(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setSchema(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setSchema(String) - Method in class io.ebean.datasource.DataSourceConfig
 
settings() - Method in interface io.ebean.datasource.DataSourceBuilder
Return the builder with access to the settings.
settings() - Method in class io.ebean.datasource.DataSourceConfig
 
setTrimPoolFreqSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setTrimPoolFreqSecs(int) - Method in class io.ebean.datasource.DataSourceConfig
 
setUrl(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setUrl(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setUsername(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
setUsername(String) - Method in class io.ebean.datasource.DataSourceConfig
 
setWaitTimeoutMillis(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Deprecated.
setWaitTimeoutMillis(int) - Method in class io.ebean.datasource.DataSourceConfig
 
shutdown() - Method in interface io.ebean.datasource.DataSourcePool
Shutdown the pool.
shutdownOnJvmExit(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
When set true a JVM shutdown hook is registered that will shutdown the connection pool on JVM exit if it has not already been shutdown.
shutdownOnJvmExit(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
size() - Method in interface io.ebean.datasource.DataSourcePool
Return the current size of the pool.
status(boolean) - Method in interface io.ebean.datasource.DataSourcePool
Return the current status of the connection pool.

T

totalAcquireMicros() - Method in interface io.ebean.datasource.PoolStatus
Return the total time acquiring a connection from the pool.
totalWaitMicros() - Method in interface io.ebean.datasource.PoolStatus
Return the total time waiting in micros for a free connection when the pool has hit maxConnections.
trimPoolFreqSecs(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the minimum trim gap between pool trim checks.

U

url(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the connection URL.
useInitDatabase() - Method in interface io.ebean.datasource.DataSourceBuilder.Settings
Return true if InitDatabase should be used (when the pool initialises and a connection can't be obtained).
useInitDatabase() - Method in class io.ebean.datasource.DataSourceConfig
 
username(String) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the database username.

V

validateOnHeartbeat(boolean) - Method in interface io.ebean.datasource.DataSourceBuilder
Set whether the connection pool should be validated periodically.
validateOnHeartbeat(boolean) - Method in class io.ebean.datasource.DataSourceConfig
 
validateStaleMillis() - Method in class io.ebean.datasource.DataSourceConfig
 

W

waitCount() - Method in interface io.ebean.datasource.PoolStatus
Return the number of times threads had to wait for connections.
waiting() - Method in interface io.ebean.datasource.PoolStatus
Return the number of threads waiting for connections.
waitTimeoutMillis(int) - Method in interface io.ebean.datasource.DataSourceBuilder
Set the time in millis to wait for a connection before timing out once the pool has reached its maximum size.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form