|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.skife.jdbi.tweak.CachingStatementLocator
public class CachingStatementLocator
Statement locator which acts as a caching decorator around another. Is used by default in conjuntion with the classpath statement locator.
Constructor Summary | |
---|---|
CachingStatementLocator(StatementLocator locator)
Pass in the underlying locator |
Method Summary | |
---|---|
void |
clear()
Remove all cached statements |
java.lang.String |
load(java.lang.String key)
Will be passed the name of a statement to locate. |
boolean |
remove(java.lang.String key)
Remove a specific named statement from the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingStatementLocator(StatementLocator locator)
Method Detail |
---|
public java.lang.String load(java.lang.String key)
StatementLocator
load
in interface StatementLocator
key
- name of the statement
public void clear()
public boolean remove(java.lang.String key)
key
- name of statement to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |