Package com.exedio.cope
Class ConnectProperties
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.exedio.cope.util.Properties
Properties.Field<E>, Properties.Probe, Properties.ProbeAbortedException, Properties.PropertiesField<T extends Properties>, Properties.Source
-
Field Summary
Fields inherited from class com.exedio.cope.misc.FactoryProperties
factory
Fields inherited from class com.exedio.cope.util.Properties
EMPTY_SOURCE, SYSTEM_PROPERTY_SOURCE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConnectProperties
(Properties.Source context) Deprecated.UseConnectProperties
(getDefaultPropertyFile()
, context) instead.ConnectProperties
(Properties.Source source, Properties.Source context) Deprecated.Usecreate(Properties.Source)
instead ascontext
is no longer supported.ConnectProperties
(File file) ConnectProperties
(File file, Properties.Source context) Deprecated.UseConnectProperties(File)
instead ascontext
is no longer supported.ConnectProperties
(Properties properties, String sourceDescription, Properties.Source context) Deprecated.Usecreate(Properties.Source)
instead ascontext
is no longer supported. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectProperties
create
(Properties.Source source) static ConnectProperties.Factory
factory()
int
Deprecated.renamed togetItemCacheLimit()
.int
Deprecated.renamed togetQueryCacheLimit()
.int
int
Deprecated.UsegetConnectionUsername()
insteadDeprecated.Has been renamed togetDialect()
.boolean
Deprecated.UseisSupportDisabledForEmptyStrings()
insteadboolean
Deprecated.Not supported anymore.boolean
Deprecated.UseisSupportDisabledForNativeDate()
insteadboolean
Deprecated.UseisSupportDisabledForPreparedStatements()
insteadDeprecated.UsegetConnectionPassword()
insteadDeprecated.UsegetConnectionUrl()
insteadDeprecated.UsegetConnectionUsername()
insteadstatic File
static Iterable<?>
boolean
int
int
int
Deprecated.UsegetMediaMaxAge()
insteadReturns a duration suitable forMediaServlet.getMaximumAge(com.exedio.cope.pattern.MediaPath, Item)
.boolean
Deprecated.Not supported anymore.Callable<?>
Deprecated.Calling this method within methods overridingProperties.getTests()
is no longer needed, as classConnectProperties
providesprobes
anyway.int
int
int
boolean
Deprecated.Not supported anymore.boolean
Deprecated.Replaced by org.slf4j.boolean
boolean
boolean
Deprecated.not supported anymore.boolean
boolean
probe()
Methods inherited from class com.exedio.cope.util.Properties
ensureEquality, ensureValidity, field, field, field, field, field, fieldFile, getContext, getContext, getContext, getField, getFields, getOrphanedKeys, getProbes, getSource, getSource, getSource, getSourceObject, getSystemPropertyContext, getSystemPropertySource, getTests, loadProperties, newException, newException, newProbeAbortedException, valnp, value, value, value, value, value, value, value, value, value, value, value, value, valueFile, valueHidden, valueMessageDigest, valuePath, valueService, valueService, valueService
-
Constructor Details
-
ConnectProperties
-
ConnectProperties
Deprecated.UseConnectProperties(File)
instead ascontext
is no longer supported. -
ConnectProperties
@Deprecated public ConnectProperties(Properties properties, String sourceDescription, Properties.Source context) Deprecated.Usecreate(Properties.Source)
instead ascontext
is no longer supported. -
ConnectProperties
Deprecated.Usecreate(Properties.Source)
instead ascontext
is no longer supported. -
ConnectProperties
Deprecated.UseConnectProperties
(getDefaultPropertyFile()
) instead. -
ConnectProperties
Deprecated.UseConnectProperties
(getDefaultPropertyFile()
, context) instead.
-
-
Method Details
-
isSupportDisabledForEmptyStrings
public boolean isSupportDisabledForEmptyStrings() -
isSupportDisabledForPreparedStatements
public boolean isSupportDisabledForPreparedStatements() -
isSupportDisabledForNativeDate
public boolean isSupportDisabledForNativeDate() -
isSupportDisabledForSemicolon
public boolean isSupportDisabledForSemicolon() -
getFulltextIndex
public boolean getFulltextIndex() -
getConnectionPoolIdleInitial
public int getConnectionPoolIdleInitial() -
getConnectionPoolIdleLimit
public int getConnectionPoolIdleLimit() -
getQuerySearchSizeLimit
public int getQuerySearchSizeLimit() -
getItemCacheLimit
public int getItemCacheLimit() -
getQueryCacheLimit
public int getQueryCacheLimit() -
getQueryCacheSizeLimit
public int getQueryCacheSizeLimit() -
getVaultProperties
-
getVaultPropertiesStrict
-
getVaultAlgorithm
-
getMediaRootUrl
-
getMediaOffsetExpires
Deprecated.UsegetMediaMaxAge()
insteadReturns the offset, the Expires http header of media is set into the future. Together with a http reverse proxy this ensures, that for that time no request for that data will reach the servlet. This may reduce the load on the server. If zero, no Expires header is sent. -
getMediaMaxAge
public int getMediaMaxAge() -
getMediaServletMaximumAge
Returns a duration suitable forMediaServlet.getMaximumAge(com.exedio.cope.pattern.MediaPath, Item)
. -
mediaFingerprintOffset
-
getMediaUrlSecret
-
factory
-
getDefaultPropertyFile
-
create
-
getDialectUrlMappers
-
getDialect
-
getConnectionUrl
-
getConnectionUsername
-
getConnectionPassword
-
getProbeTest
Deprecated.Calling this method within methods overridingProperties.getTests()
is no longer needed, as classConnectProperties
providesprobes
anyway. -
probe
-
getConnectionUser
Deprecated.UsegetConnectionUsername()
instead -
isLoggingEnabled
Deprecated.Replaced by org.slf4j. Always returns true. -
getDatabase
Deprecated.Has been renamed togetDialect()
. -
getCacheLimit
Deprecated.renamed togetItemCacheLimit()
. -
getCacheQueryLimit
Deprecated.renamed togetQueryCacheLimit()
. -
getTransactionLog
Deprecated.Not supported anymore. This method always returns false. -
getOracleVarchar
Deprecated.Not supported anymore. This method always returns true. -
getDatabaseDontSupportLimit
Deprecated.Not supported anymore. This method always returns false. -
getDatabaseUrl
Deprecated.UsegetConnectionUrl()
instead -
getDatabaseUser
Deprecated.UsegetConnectionUsername()
instead -
getDatabasePassword
Deprecated.UsegetConnectionPassword()
instead -
getDatabaseDontSupportPreparedStatements
Deprecated.UseisSupportDisabledForPreparedStatements()
instead -
getDatabaseDontSupportEmptyStrings
Deprecated.UseisSupportDisabledForEmptyStrings()
instead -
getDatabaseDontSupportNativeDate
Deprecated.UseisSupportDisabledForNativeDate()
instead -
isSupportDisabledForNotNull
Deprecated.not supported anymore. This methods always returnsfalse
.
-
ConnectProperties
(getDefaultPropertyFile()
) instead.