public class UsingDefaultCacheNameBlogManagerImpl extends Object implements BlogManager
Constructor and Description |
---|
UsingDefaultCacheNameBlogManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
(non-Javadoc)
|
void |
clearEntry(String title)
(non-Javadoc)
|
void |
clearEntryFromCache(String title)
(non-Javadoc)
|
void |
createEntry(Blog blog)
(non-Javadoc)
|
Blog |
getEntryCached(String title) |
Blog |
getEntryCached(String randomArg,
String title,
String randomArg2)
Have to specify the cache name here, the generated name is:
manager.UsingDefaultCacheNameBlogManagerImpl.getEntryCached(java.lang.String,java.lang.String,java.lang.String)
|
Blog |
getEntryRaw(String title) |
public UsingDefaultCacheNameBlogManagerImpl()
public Blog getEntryCached(String title)
getEntryCached
in interface BlogManager
public Blog getEntryRaw(String title)
getEntryRaw
in interface BlogManager
public void clearEntryFromCache(String title)
clearEntryFromCache
in interface BlogManager
BlogManager.clearEntryFromCache(java.lang.String)
public void clearEntry(String title)
clearEntry
in interface BlogManager
BlogManager.clearEntry(java.lang.String)
public void clearCache()
clearCache
in interface BlogManager
BlogManager.clearCache()
public void createEntry(Blog blog)
createEntry
in interface BlogManager
BlogManager.createEntry(domain.Blog)
public Blog getEntryCached(String randomArg, String title, String randomArg2)
getEntryCached
in interface BlogManager
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.