DODS 7.2 API

org.enhydra.dods.cache
Interface CacheConstants

All Known Implementing Classes:
DatabaseConfiguration, DatabaseManagerConfiguration, InformixLogicalDatabase, OracleLogicalDatabase, StandardDatabaseManager, StandardLogicalDatabase, TableConfiguration

public interface CacheConstants

This intefrace contains constants needed for data object (or DataStruct object), simple query and complex query caches.

Version:
2.0 15.06.2003.
Author:
Nenad Vico, Zorica Suvajdzin, Tanja Jovanovic

Field Summary
static int COMPLEX_QUERY_CACHE
          Methods use this constant for retrieving information about complex query cache.
static int DATA_CACHE
          Methods use this constant for retrieving information about data object or DataStruct object cache.
static int DATA_CACHING
          Only data object (or DataStruct object) cache is enabled.
static boolean DEFAULT_All_READONLY
           
static java.lang.String DEFAULT_APP_NAME
           
static int DEFAULT_ASYNCH_LOAD_PRIORITY
           
static int DEFAULT_ASYNCH_LOAD_THREAD_NUM
           
static boolean DEFAULT_AUTO_SAVE
           
static boolean DEFAULT_AUTO_SAVE_CREATE_VIRGIN
           
static boolean DEFAULT_AUTO_WRITE
           
static double DEFAULT_CACHE_PERCENTAGE
           
static boolean DEFAULT_CASE_SENSITIVE
           
static int DEFAULT_DEADLOCK_READ_TIME
           
static int DEFAULT_DEADLOCK_RETRY_NUMBER
           
static int DEFAULT_DEFAULT_FETCH_SIZE
           
static boolean DEFAULT_DELETE_CHECK_VERSION
           
static java.lang.String DEFAULT_DODS_CACHE_FACTORY
           
static int DEFAULT_FULL_CACHE_COUNT_LIMIT
           
static boolean DEFAULT_INCREMENT_VERSIONS
          Increment versions during mass Updates.
static boolean DEFAULT_INITIAL_ALL_CACHES
           
static int DEFAULT_INITIAL_CACHE_FETCH_SIZE
           
static java.lang.String DEFAULT_INITIAL_CONDITION
           
static int DEFAULT_INITIAL_DS_CACHE_SIZE
           
static boolean DEFAULT_LAZY_LOADING
           
static int DEFAULT_MAX_CACHE_SIZE
          Constant for maximal number of data objects (or DataStruct object) in the cache.
static int DEFAULT_MAX_COMPLEX_QUERY_CACHE_SIZE
          Constant for maximal number of Query objects in the complex query cache.
static int DEFAULT_MAX_EXECUTE_TIME
           
static int DEFAULT_MAX_EXECUTE_TIME_CACHE_INIT
           
static int DEFAULT_MAX_MULTI_JOIN_QUERY_CACHE_SIZE
          Constant for maximal number of Query objects in the multi-join query cache.
static int DEFAULT_MAX_SIMPLE_QUERY_CACHE_SIZE
          Constant for maximal number of Query objects in the simple query cache.
static int DEFAULT_QUERY_TIME_LIMIT_CACHE_INIT
           
static int DEFAULT_QUERY_TIMEOUT
           
static int DEFAULT_QUERY_TIMEOUT_CACHE_INIT
           
static boolean DEFAULT_READONLY
           
static double DEFAULT_RESERVE_FACTOR
          Constant used in query caching.
static boolean DEFAULT_SELECT_OIDS
          Optional select statement - used with mass Updates and/or deletes .
static int DEFAULT_SIMPLE_CACHE_ROW_COUNT_LIMIT
           
static int DEFAULT_SYNCH_LOAD_ROW_COUNT_LIMIT
           
static boolean DEFAULT_TRANSACTION_CACHES
           
static boolean DEFAULT_TRANSACTION_CHECK
           
static java.lang.String FULL_CACHE_COUNT_LIMIT
           
static int MULTI_JOIN_QUERY_CACHE
          Methods use this constant for retrieving information about multi-join query cache.
static java.lang.String PARAMNAME_ALL_READ_ONLY
           
static java.lang.String PARAMNAME_APP_NAME
           
static java.lang.String PARAMNAME_ASYNCH_LOAD_PRIORITY
           
static java.lang.String PARAMNAME_ASYNCH_LOAD_THREAD_NUM
           
static java.lang.String PARAMNAME_AUTO_SAVE
           
static java.lang.String PARAMNAME_AUTO_SAVE_CREATE_VIRGIN
           
static java.lang.String PARAMNAME_AUTO_WRITE
           
static java.lang.String PARAMNAME_CACHE_PERCENTAGE
           
static java.lang.String PARAMNAME_CASE_SENSITIVE
           
static java.lang.String PARAMNAME_DEADLOCK_READ_TIME
           
static java.lang.String PARAMNAME_DEADLOCK_RETRY_NUMBER
           
static java.lang.String PARAMNAME_DEFAULT_FETCH_SIZE
           
static java.lang.String PARAMNAME_DELETE_CHECK_VERSION
           
static java.lang.String PARAMNAME_DODS_CACHE_FACTORY
           
static java.lang.String PARAMNAME_INCREMENT_VERSIONS
          Increment versions during mass Updates.
static java.lang.String PARAMNAME_INITIAL_ALL_CACHES
           
static java.lang.String PARAMNAME_INITIAL_CACHE_FETCH_SIZE
           
static java.lang.String PARAMNAME_INITIAL_CONDITION
           
static java.lang.String PARAMNAME_INITIAL_DS_CACHE_SIZE
           
static java.lang.String PARAMNAME_LAZY_LOADING
           
static java.lang.String PARAMNAME_MAX_CACHE_SIZE
           
static java.lang.String PARAMNAME_MAX_COMPLEX_CACHE_SIZE
           
static java.lang.String PARAMNAME_MAX_EXECUTE_TIME
           
static java.lang.String PARAMNAME_MAX_EXECUTE_TIME_CACHE_INIT
           
static java.lang.String PARAMNAME_MAX_MULTI_JOIN_CACHE_SIZE
           
static java.lang.String PARAMNAME_MAX_SIMPLE_CACHE_SIZE
           
static java.lang.String PARAMNAME_QUERY_TIME_LIMIT_CACHE_INIT
           
static java.lang.String PARAMNAME_QUERY_TIMEOUT
           
static java.lang.String PARAMNAME_QUERY_TIMEOUT_CACHE_INIT
           
static java.lang.String PARAMNAME_READ_ONLY
           
static java.lang.String PARAMNAME_RESERVE_FACTOR
           
static java.lang.String PARAMNAME_SELECT_OIDS
          Name of optional select statement parameter - used with mass Updates and/or deletes.
static java.lang.String PARAMNAME_SIMPLE_CACHE_ROW_COUNT_LIMIT
           
static java.lang.String PARAMNAME_SYNCH_LOAD_ROW_COUNT_LIMIT
           
static java.lang.String PARAMNAME_TRANSACTION_CACHES
           
static java.lang.String PARAMNAME_TRANSACTION_CHECK
          Names of parameters in configuration file (DatabaseManager section)
static int QUERY_CACHING
          Beside data object (or DataStruct object) cache, which is enabled, at least one of simple and complex query caches is enabled.
static int SIMPLE_QUERY_CACHE
          Methods use this constant for retrieving information about simple query cache.
 

Field Detail

DATA_CACHE

static final int DATA_CACHE
Methods use this constant for retrieving information about data object or DataStruct object cache.

See Also:
Constant Field Values

SIMPLE_QUERY_CACHE

static final int SIMPLE_QUERY_CACHE
Methods use this constant for retrieving information about simple query cache.

See Also:
Constant Field Values

COMPLEX_QUERY_CACHE

static final int COMPLEX_QUERY_CACHE
Methods use this constant for retrieving information about complex query cache.

See Also:
Constant Field Values

MULTI_JOIN_QUERY_CACHE

static final int MULTI_JOIN_QUERY_CACHE
Methods use this constant for retrieving information about multi-join query cache.

See Also:
Constant Field Values

DATA_CACHING

static final int DATA_CACHING
Only data object (or DataStruct object) cache is enabled. Simple and complex query caches are disabled.

See Also:
Constant Field Values

QUERY_CACHING

static final int QUERY_CACHING
Beside data object (or DataStruct object) cache, which is enabled, at least one of simple and complex query caches is enabled.

See Also:
Constant Field Values

DEFAULT_MAX_CACHE_SIZE

static final int DEFAULT_MAX_CACHE_SIZE
Constant for maximal number of data objects (or DataStruct object) in the cache. Used if application's configuration file doesn't contain information about maximal cache size.

See Also:
Constant Field Values

DEFAULT_MAX_SIMPLE_QUERY_CACHE_SIZE

static final int DEFAULT_MAX_SIMPLE_QUERY_CACHE_SIZE
Constant for maximal number of Query objects in the simple query cache. Used if application's configuration file doesn't contain information about maximal simple query cache size.

See Also:
Constant Field Values

DEFAULT_MAX_COMPLEX_QUERY_CACHE_SIZE

static final int DEFAULT_MAX_COMPLEX_QUERY_CACHE_SIZE
Constant for maximal number of Query objects in the complex query cache. Used if application's configuration file doesn't contain information about maximal complex query cache size.

See Also:
Constant Field Values

DEFAULT_MAX_MULTI_JOIN_QUERY_CACHE_SIZE

static final int DEFAULT_MAX_MULTI_JOIN_QUERY_CACHE_SIZE
Constant for maximal number of Query objects in the multi-join query cache. Used if application's configuration file doesn't contain information about maximal multi-join query cache size.

See Also:
Constant Field Values

DEFAULT_RESERVE_FACTOR

static final double DEFAULT_RESERVE_FACTOR
Constant used in query caching. If is percent of how many more object are taken for evaluation. If num is number of needed results, then it is used num + DEFAULT_RESERVE_FACTOR * num of objects for estimating what is quicker: go to database for all object that are not in the cache, or run again query on database. This value is given in percents, as number between 0 and 1 (0.25 means 25%). For example, if DEFAULT_RESERVE_FACTOR is 0.0, and wanted number of results is 50, the estimation will be done on 75 (50 + 0.5 * 50) objects.

See Also:
Constant Field Values

DEFAULT_TRANSACTION_CHECK

static final boolean DEFAULT_TRANSACTION_CHECK
See Also:
Constant Field Values

DEFAULT_DELETE_CHECK_VERSION

static final boolean DEFAULT_DELETE_CHECK_VERSION
See Also:
Constant Field Values

DEFAULT_AUTO_WRITE

static final boolean DEFAULT_AUTO_WRITE
See Also:
Constant Field Values

DEFAULT_TRANSACTION_CACHES

static final boolean DEFAULT_TRANSACTION_CACHES
See Also:
Constant Field Values

DEFAULT_AUTO_SAVE

static final boolean DEFAULT_AUTO_SAVE
See Also:
Constant Field Values

DEFAULT_AUTO_SAVE_CREATE_VIRGIN

static final boolean DEFAULT_AUTO_SAVE_CREATE_VIRGIN
See Also:
Constant Field Values

DEFAULT_DEFAULT_FETCH_SIZE

static final int DEFAULT_DEFAULT_FETCH_SIZE
See Also:
Constant Field Values

DEFAULT_DEADLOCK_READ_TIME

static final int DEFAULT_DEADLOCK_READ_TIME
See Also:
Constant Field Values

DEFAULT_DEADLOCK_RETRY_NUMBER

static final int DEFAULT_DEADLOCK_RETRY_NUMBER
See Also:
Constant Field Values

DEFAULT_QUERY_TIMEOUT

static final int DEFAULT_QUERY_TIMEOUT
See Also:
Constant Field Values

DEFAULT_LAZY_LOADING

static final boolean DEFAULT_LAZY_LOADING
See Also:
Constant Field Values

DEFAULT_MAX_EXECUTE_TIME

static final int DEFAULT_MAX_EXECUTE_TIME
See Also:
Constant Field Values

DEFAULT_INITIAL_ALL_CACHES

static final boolean DEFAULT_INITIAL_ALL_CACHES
See Also:
Constant Field Values

DEFAULT_INITIAL_CONDITION

static final java.lang.String DEFAULT_INITIAL_CONDITION

DEFAULT_All_READONLY

static final boolean DEFAULT_All_READONLY
See Also:
Constant Field Values

DEFAULT_READONLY

static final boolean DEFAULT_READONLY
See Also:
Constant Field Values

DEFAULT_CACHE_PERCENTAGE

static final double DEFAULT_CACHE_PERCENTAGE
See Also:
Constant Field Values

DEFAULT_CASE_SENSITIVE

static final boolean DEFAULT_CASE_SENSITIVE
See Also:
Constant Field Values

DEFAULT_APP_NAME

static final java.lang.String DEFAULT_APP_NAME

DEFAULT_INITIAL_CACHE_FETCH_SIZE

static final int DEFAULT_INITIAL_CACHE_FETCH_SIZE
See Also:
Constant Field Values

DEFAULT_INITIAL_DS_CACHE_SIZE

static final int DEFAULT_INITIAL_DS_CACHE_SIZE
See Also:
Constant Field Values

DEFAULT_SELECT_OIDS

static final boolean DEFAULT_SELECT_OIDS
Optional select statement - used with mass Updates and/or deletes .

See Also:
Constant Field Values

DEFAULT_INCREMENT_VERSIONS

static final boolean DEFAULT_INCREMENT_VERSIONS
Increment versions during mass Updates.

See Also:
Constant Field Values

DEFAULT_FULL_CACHE_COUNT_LIMIT

static final int DEFAULT_FULL_CACHE_COUNT_LIMIT
See Also:
Constant Field Values

PARAMNAME_TRANSACTION_CHECK

static final java.lang.String PARAMNAME_TRANSACTION_CHECK
Names of parameters in configuration file (DatabaseManager section)

See Also:
Constant Field Values

PARAMNAME_DELETE_CHECK_VERSION

static final java.lang.String PARAMNAME_DELETE_CHECK_VERSION
See Also:
Constant Field Values

PARAMNAME_AUTO_WRITE

static final java.lang.String PARAMNAME_AUTO_WRITE
See Also:
Constant Field Values

PARAMNAME_TRANSACTION_CACHES

static final java.lang.String PARAMNAME_TRANSACTION_CACHES
See Also:
Constant Field Values

PARAMNAME_AUTO_SAVE

static final java.lang.String PARAMNAME_AUTO_SAVE
See Also:
Constant Field Values

PARAMNAME_AUTO_SAVE_CREATE_VIRGIN

static final java.lang.String PARAMNAME_AUTO_SAVE_CREATE_VIRGIN
See Also:
Constant Field Values

PARAMNAME_DEFAULT_FETCH_SIZE

static final java.lang.String PARAMNAME_DEFAULT_FETCH_SIZE
See Also:
Constant Field Values

PARAMNAME_DEADLOCK_READ_TIME

static final java.lang.String PARAMNAME_DEADLOCK_READ_TIME
See Also:
Constant Field Values

PARAMNAME_DEADLOCK_RETRY_NUMBER

static final java.lang.String PARAMNAME_DEADLOCK_RETRY_NUMBER
See Also:
Constant Field Values

PARAMNAME_QUERY_TIMEOUT

static final java.lang.String PARAMNAME_QUERY_TIMEOUT
See Also:
Constant Field Values

PARAMNAME_ALL_READ_ONLY

static final java.lang.String PARAMNAME_ALL_READ_ONLY
See Also:
Constant Field Values

PARAMNAME_LAZY_LOADING

static final java.lang.String PARAMNAME_LAZY_LOADING
See Also:
Constant Field Values

PARAMNAME_MAX_EXECUTE_TIME

static final java.lang.String PARAMNAME_MAX_EXECUTE_TIME
See Also:
Constant Field Values

PARAMNAME_MAX_CACHE_SIZE

static final java.lang.String PARAMNAME_MAX_CACHE_SIZE
See Also:
Constant Field Values

PARAMNAME_MAX_SIMPLE_CACHE_SIZE

static final java.lang.String PARAMNAME_MAX_SIMPLE_CACHE_SIZE
See Also:
Constant Field Values

PARAMNAME_MAX_COMPLEX_CACHE_SIZE

static final java.lang.String PARAMNAME_MAX_COMPLEX_CACHE_SIZE
See Also:
Constant Field Values

PARAMNAME_MAX_MULTI_JOIN_CACHE_SIZE

static final java.lang.String PARAMNAME_MAX_MULTI_JOIN_CACHE_SIZE
See Also:
Constant Field Values

PARAMNAME_RESERVE_FACTOR

static final java.lang.String PARAMNAME_RESERVE_FACTOR
See Also:
Constant Field Values

PARAMNAME_INITIAL_ALL_CACHES

static final java.lang.String PARAMNAME_INITIAL_ALL_CACHES
See Also:
Constant Field Values

PARAMNAME_INITIAL_CONDITION

static final java.lang.String PARAMNAME_INITIAL_CONDITION
See Also:
Constant Field Values

PARAMNAME_READ_ONLY

static final java.lang.String PARAMNAME_READ_ONLY
See Also:
Constant Field Values

PARAMNAME_CACHE_PERCENTAGE

static final java.lang.String PARAMNAME_CACHE_PERCENTAGE
See Also:
Constant Field Values

PARAMNAME_CASE_SENSITIVE

static final java.lang.String PARAMNAME_CASE_SENSITIVE
See Also:
Constant Field Values

PARAMNAME_APP_NAME

static final java.lang.String PARAMNAME_APP_NAME
See Also:
Constant Field Values

PARAMNAME_INITIAL_CACHE_FETCH_SIZE

static final java.lang.String PARAMNAME_INITIAL_CACHE_FETCH_SIZE
See Also:
Constant Field Values

PARAMNAME_INITIAL_DS_CACHE_SIZE

static final java.lang.String PARAMNAME_INITIAL_DS_CACHE_SIZE
See Also:
Constant Field Values

PARAMNAME_SELECT_OIDS

static final java.lang.String PARAMNAME_SELECT_OIDS
Name of optional select statement parameter - used with mass Updates and/or deletes.

See Also:
Constant Field Values

PARAMNAME_INCREMENT_VERSIONS

static final java.lang.String PARAMNAME_INCREMENT_VERSIONS
Increment versions during mass Updates.

See Also:
Constant Field Values

FULL_CACHE_COUNT_LIMIT

static final java.lang.String FULL_CACHE_COUNT_LIMIT
See Also:
Constant Field Values

PARAMNAME_DODS_CACHE_FACTORY

static final java.lang.String PARAMNAME_DODS_CACHE_FACTORY
See Also:
Constant Field Values

DEFAULT_DODS_CACHE_FACTORY

static final java.lang.String DEFAULT_DODS_CACHE_FACTORY
See Also:
Constant Field Values

PARAMNAME_ASYNCH_LOAD_THREAD_NUM

static final java.lang.String PARAMNAME_ASYNCH_LOAD_THREAD_NUM
See Also:
Constant Field Values

DEFAULT_ASYNCH_LOAD_THREAD_NUM

static final int DEFAULT_ASYNCH_LOAD_THREAD_NUM
See Also:
Constant Field Values

PARAMNAME_ASYNCH_LOAD_PRIORITY

static final java.lang.String PARAMNAME_ASYNCH_LOAD_PRIORITY
See Also:
Constant Field Values

DEFAULT_ASYNCH_LOAD_PRIORITY

static final int DEFAULT_ASYNCH_LOAD_PRIORITY
See Also:
Constant Field Values

PARAMNAME_SIMPLE_CACHE_ROW_COUNT_LIMIT

static final java.lang.String PARAMNAME_SIMPLE_CACHE_ROW_COUNT_LIMIT
See Also:
Constant Field Values

DEFAULT_SIMPLE_CACHE_ROW_COUNT_LIMIT

static final int DEFAULT_SIMPLE_CACHE_ROW_COUNT_LIMIT
See Also:
Constant Field Values

PARAMNAME_SYNCH_LOAD_ROW_COUNT_LIMIT

static final java.lang.String PARAMNAME_SYNCH_LOAD_ROW_COUNT_LIMIT
See Also:
Constant Field Values

DEFAULT_SYNCH_LOAD_ROW_COUNT_LIMIT

static final int DEFAULT_SYNCH_LOAD_ROW_COUNT_LIMIT
See Also:
Constant Field Values

PARAMNAME_MAX_EXECUTE_TIME_CACHE_INIT

static final java.lang.String PARAMNAME_MAX_EXECUTE_TIME_CACHE_INIT
See Also:
Constant Field Values

DEFAULT_MAX_EXECUTE_TIME_CACHE_INIT

static final int DEFAULT_MAX_EXECUTE_TIME_CACHE_INIT
See Also:
Constant Field Values

PARAMNAME_QUERY_TIME_LIMIT_CACHE_INIT

static final java.lang.String PARAMNAME_QUERY_TIME_LIMIT_CACHE_INIT
See Also:
Constant Field Values

DEFAULT_QUERY_TIME_LIMIT_CACHE_INIT

static final int DEFAULT_QUERY_TIME_LIMIT_CACHE_INIT
See Also:
Constant Field Values

PARAMNAME_QUERY_TIMEOUT_CACHE_INIT

static final java.lang.String PARAMNAME_QUERY_TIMEOUT_CACHE_INIT
See Also:
Constant Field Values

DEFAULT_QUERY_TIMEOUT_CACHE_INIT

static final int DEFAULT_QUERY_TIMEOUT_CACHE_INIT
See Also:
Constant Field Values

DODS 7.2 API