CacheEntry
represents a SQL select request with its reponse. The cache entry can have 3 states:
CACHE_VALID
when it is valid CACHE_DIRTY
when the result has been marked dirty (may be invalid) CACHE_INVALID
when there is no result (request has to be re-issued to the database)
ResultCacheEntry.java の 46 行で定義されています。
Public メソッド | |
ResultCacheEntry (SelectRequest request, ControllerResultSet result) | |
abstract String | getType () |
String | getState () |
boolean | isValid () |
boolean | isDirty () |
SelectRequest | getRequest () |
ControllerResultSet | getResult () |
void | setResult (ControllerResultSet result) |
abstract void | invalidate () |
void | markDirty () |
void | setValid () |
CacheEntry | getNext () |
void | setNext (CacheEntry next) |
CacheEntry | getPrev () |
void | setPrev (CacheEntry prev) |
abstract String[] | toStringTable () |
int | getSizeOfResult () |
Protected 変数 | |
SelectRequest | request |
ControllerResultSet | result |
int | state |
Private 変数 | |
CacheEntry | next |
CacheEntry | prev |
|
Creates a new
参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.next, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.prev, と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.state.
|
|
Gets the value of next
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 177 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.next. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.removeFromCache().
|
|
Gets the value of previous
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 197 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.prev. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.removeFromCache().
|
|
Returns the
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 119 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.request. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseTable.invalidateAllExceptPk(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCache.removeOldest(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.RelaxedCacheThread.run().
|
|
Returns the
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 129 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.result. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.isUpdateNecessary(), と org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processWriteNotify().
|
|
Size of the result in bytes
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 224 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.result. 参照元 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxed.toStringTable(), と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager.toStringTable().
|
|
Get the state of this entry as a string
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 82 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.isDirty(), と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.isValid(). 参照元 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxed.toStringTable(), と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager.toStringTable().
|
|
Get the type of this entry as a string
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています.
org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryNoCache, と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxedで実装されています.
|
|
|
Returns
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 109 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.state. 参照元 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.getState(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.RelaxedCacheThread.run().
|
|
|
Marks this entry dirty (state becomes CACHE_DIRTY).
The org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 159 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.state.
|
|
Sets the value of next
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 187 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache().
|
|
Sets the value of previous
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 207 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getFromCache().
|
|
Set a new The cache state is automatically set to valid (CACHE_VALID).
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 142 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.state. 参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.removeFromCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCache.removeOldest().
|
|
Marks this entry valid (state becomes CACHE_VALID). org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています. ResultCacheEntry.java の 167 行で定義されています。 参照先 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.state.
|
|
Get data about this entry
org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryを実装しています.
org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryNoCache, と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxedで実装されています.
参照元 org.objectweb.cjdbc.controller.cache.result.ResultCache.getCacheData(). |
|
|
|
ResultCacheEntry.java の 48 行で定義されています。 参照元 org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry.getRequest(). |
|
|