インタフェース org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry

org.objectweb.cjdbc.controller.cache.result.entries.CacheEntryに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

説明

This describes a reauest cache entry.

CacheEntry.java33 行で定義されています。

Public 変数

int CACHE_VALID = 0

関数

String getType ()
String getState ()
boolean isValid ()
boolean isDirty ()
SelectRequest getRequest ()
ControllerResultSet getResult ()
void setResult (ControllerResultSet result)
void invalidate ()
void markDirty ()
void setValid ()
CacheEntry getNext ()
void setNext (CacheEntry next)
CacheEntry getPrev ()
void setPrev (CacheEntry prev)
String[] toStringTable ()
int getSizeOfResult ()

変数

int CACHE_DIRTY = 1
int CACHE_INVALID = 2


メソッド

CacheEntry org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getNext  )  [package]
 

Gets the value of next ResultCacheEntry in LRU.

戻り値:
value of next.

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

CacheEntry org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getPrev  )  [package]
 

Gets the value of previous CacheEntry in LRU.

戻り値:
value of previous.

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

SelectRequest org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getRequest  )  [package]
 

Returns the SELECT request of this cache entry.

戻り値:
a SelectRequest value

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUnique(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUniqueAndMarkDirtyUnique(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllUniqueWithValuesAndAllNonUnique(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.markDirtyAllNonUnique(), org.objectweb.cjdbc.controller.cache.result.ResultCacheTable.processAddToCache(), org.objectweb.cjdbc.controller.cache.result.ResultCacheColumnUnique.processAddToCache(), と org.objectweb.cjdbc.controller.cache.result.ResultCacheColumn.processAddToCache().

ControllerResultSet org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getResult  )  [package]
 

Returns the ControllerResultSet of the cached select request

戻り値:
a ControllerResultSet value

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

int org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getSizeOfResult  )  [package]
 

Size of the result in bytes

戻り値:
an integer

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

String org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getState  )  [package]
 

Get the state of this entry as a string

戻り値:
Valid or Dirty or Invalid

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

String org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.getType  )  [package]
 

Get the type of this entry as a string

戻り値:
NoCache or Eager or Relaxed

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryNoCache, と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxedで実装されています.

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.invalidate  )  [package]
 

Invalidates this cache entry (removes the ResultSet and turn state to CACHE_INVALID).

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry, 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.schema.CacheDatabaseColumn.invalidateAll(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUnique(), org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUniqueAndMarkDirtyUnique(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllUniqueWithValuesAndAllNonUnique().

boolean org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.isDirty  )  [package]
 

Returns true if cache entry state is marked dirty (state is CACHE_DIRTY).

戻り値:
a boolean value

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

boolean org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.isValid  )  [package]
 

Return true if cache entry state is valid (state is CACHE_VALID).

戻り値:
a boolean value

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUniqueAndMarkDirtyUnique(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.markDirtyAllNonUnique().

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.markDirty  )  [package]
 

Marks this entry dirty (state becomes CACHE_DIRTY).

The ResultSet if not affected by this method.

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

参照元 org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.invalidateAllNonUniqueAndMarkDirtyUnique(), と org.objectweb.cjdbc.controller.cache.result.schema.CacheDatabaseColumn.markDirtyAllNonUnique().

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.setNext CacheEntry  next  )  [package]
 

Sets the value of next CacheEntry in LRU.

引数:
next value to assign to next.

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.setPrev CacheEntry  prev  )  [package]
 

Sets the value of previous CacheEntry in LRU.

引数:
prev value to assign to prev.

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.setResult ControllerResultSet  result  )  [package]
 

Set a new ControllerResultSet of the cached select request (cache update).

The cache state is automatically set to valid (CACHE_VALID).

引数:
result a ControllerResultSet value

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

void org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.setValid  )  [package]
 

Marks this entry valid (state becomes CACHE_VALID).

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryで実装されています.

String [] org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.toStringTable  )  [package]
 

Get data about this entry

戻り値:
an array [request,type,status(valid,notvalid,dirty),deadLine]

org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntry, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryEager, org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryNoCache, と org.objectweb.cjdbc.controller.cache.result.entries.ResultCacheEntryRelaxedで実装されています.


変数

int org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.CACHE_DIRTY = 1 [package]
 

This entry is dirty CacheEntry.java38 行で定義されています。

int org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.CACHE_INVALID = 2 [package]
 

This entry is no more valid and is not consistent with real data. CacheEntry.java40 行で定義されています。

int org.objectweb.cjdbc.controller.cache.result.entries.CacheEntry.CACHE_VALID = 0
 

State this entry is valid CacheEntry.java36 行で定義されています。


このインタフェースの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:38 2004に生成されました。 doxygen 1.3.8