ParsingCache.java の 44 行で定義されています。
Public メソッド | |
ParsingCache (int size, boolean backgroundParsing) | |
int | getGranularity () |
void | setGranularity (int granularity) |
RequestManager | getRequestManager () |
void | setRequestManager (RequestManager requestManager) |
void | getParsingFromCache (AbstractRequest request) |
void | getParsingFromCacheAndParseIfMissing (AbstractRequest request) throws SQLException |
boolean | isBackgroundParsing () |
void | setBackgroundParsing (boolean backgroundParsing) |
void | setCaseSensitiveParsing (boolean isCaseSensitiveParsing) |
boolean | isCaseSensitiveParsing () |
String | getXml () |
Private 変数 | |
Hashtable | cache |
Hashtable | currentlyParsing |
RequestManager | requestManager |
int | granularity |
int | maxNbOfEntries |
boolean | backgroundParsing |
boolean | caseSensitiveParsing |
|
Constructor for ParsingCache.
参照先 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.cache, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.caseSensitiveParsing, と org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.currentlyParsing.
|
|
Returns the granularity value.
参照先 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.granularity.
|
|
If the same SQL query is found in the cache, the parsing is cloned into the given request. If backgroundParsing is set to true, then a ParserThread starts parsing the request in background else nothing is done on a cache miss.
参照先 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.backgroundParsing, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.cache, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.caseSensitiveParsing, org.objectweb.cjdbc.common.sql.AbstractRequest.cloneParsing(), org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.currentlyParsing, org.objectweb.cjdbc.common.sql.AbstractRequest.getSQL(), org.objectweb.cjdbc.common.sql.AbstractRequest.getSqlSkeleton(), org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.granularity, org.objectweb.cjdbc.common.sql.AbstractRequest.isParsed, と org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.requestManager.
|
|
Method getParsingFromCacheAndParseIfMissing.
参照先 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.backgroundParsing, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.cache, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.caseSensitiveParsing, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.currentlyParsing, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.CurrentlyParsingEntry.getParserThread(), org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.CurrentlyParsingEntry.getRequest(), org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.granularity, org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.maxNbOfEntries, と org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.requestManager.
|
|
Returns the requestManager value.
参照先 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.requestManager.
|
|
Get xml information about this ParsingCache
|
|
Returns the backgroundParsing.
|
|
Returns the caseSensitiveParsin.
|
|
Sets the background parsing. If true the request are parsed in background by a separate thread that is created for this purpose.
|
|
Sets the parsing case sensitivity
|
|
Sets the granularity value.
|
|
Sets the requestManager value.
|
|
|
|
|
|
|
ParsingCache.java の 50 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.parsing.ParsingCache.getParsingFromCacheAndParseIfMissing(). |
|