public class GreedyCacheSqlFileRepository extends AbstractSqlFileRepository
AbstractSqlFileRepository.CacheKey| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.ConcurrentMap<AbstractSqlFileRepository.CacheKey,SqlFile> |
sqlFileMap |
| Constructor and Description |
|---|
GreedyCacheSqlFileRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clears cache.
|
protected SqlFile |
getSqlFileWithCacheControl(java.lang.reflect.Method method,
java.lang.String path,
Dialect dialect)
Returns the SQL file in consideration of cache control.
|
createSqlFile, getPrimaryPath, getSql, getSqlFile, parseprotected final java.util.concurrent.ConcurrentMap<AbstractSqlFileRepository.CacheKey,SqlFile> sqlFileMap
protected SqlFile getSqlFileWithCacheControl(java.lang.reflect.Method method, java.lang.String path, Dialect dialect)
AbstractSqlFileRepositorygetSqlFileWithCacheControl in class AbstractSqlFileRepositorymethod - the Dao methodpath - the SQL file pathdialect - the dialectpublic void clearCache()
SqlFileRepository