org.seasar.doma.jdbc
クラス GreedyCacheSqlFileRepository
java.lang.Object
org.seasar.doma.jdbc.AbstractSqlFileRepository
org.seasar.doma.jdbc.GreedyCacheSqlFileRepository
- すべての実装されたインタフェース:
- SqlFileRepository
public class GreedyCacheSqlFileRepository
- extends AbstractSqlFileRepository
SQLの解析結果をメモリが許す限り最大限にキャッシュする SqlFileRepository の実装です。
- 作成者:
- taedium
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sqlFileMap
protected final ConcurrentMap<String,SqlFile> sqlFileMap
- SQLのパスをキー、SQLファイルを値とするマップです。
GreedyCacheSqlFileRepository
public GreedyCacheSqlFileRepository()
getSqlFileWithCacheControl
protected SqlFile getSqlFileWithCacheControl(String path,
Dialect dialect)
- クラス
AbstractSqlFileRepository の記述:
- キャッシュを制御してSQLファイルを返します。
- 定義:
- クラス
AbstractSqlFileRepository 内の getSqlFileWithCacheControl
- パラメータ:
path - SQLファイルのパスdialect - 方言
- 戻り値:
- SQLファイル
Copyright © 2009-2014 The Seasar Foundation. All Rights Reserved.