|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.cm.CacheHandler
public class CacheHandler
The CacheHandler handles deployment and clean of internal and external caches
| Field Summary | |
|---|---|
protected String[] |
cacheURLs
|
protected CLogger |
log
|
| Constructor Summary | |
|---|---|
CacheHandler(String[] thisURLs,
CLogger tLog)
CacheHandler form multiple URLs |
|
CacheHandler(String thisURL,
CLogger tLog,
Ctx ctx,
String trxName)
CacheHandler for single URL environment |
|
| Method Summary | |
|---|---|
void |
cleanContainer(Integer ID)
Clean ContainerCache for this ID |
void |
cleanContainer(String ID)
Clean ContainerCache for this ID |
void |
cleanContainerElement(Integer ID)
Clean Container Element for this ID |
void |
cleanContainerElement(String ID)
Clean Container Element for this ID |
void |
cleanContainerTree(Integer ID)
Clean ContainerTreeCache for this WebProjectID |
void |
cleanContainerTree(String ID)
Clean ContainerTreeCache for this WebProjectID |
void |
cleanTemplate(Integer ID)
Clean Template cache for this ID |
void |
cleanTemplate(String ID)
Clean Template cache for this ID |
static String |
convertJNPURLToCacheURL(String JNPURL)
Converts JNP URL to http URL for cache cleanup |
void |
emptyTemplate()
Empty all Template Caches |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String[] cacheURLs
protected CLogger log
| Constructor Detail |
|---|
public CacheHandler(String thisURL,
CLogger tLog,
Ctx ctx,
String trxName)
thisURL - URL of this ServertLog - thisLoggerctx - Propertie ContexttrxName - Transaction
public CacheHandler(String[] thisURLs,
CLogger tLog)
thisURLs - Array of Cache Server URLstLog - Logger| Method Detail |
|---|
public void cleanTemplate(Integer ID)
ID - ID of template to cleanpublic void cleanTemplate(String ID)
ID - ID of template to cleanpublic void emptyTemplate()
public void cleanContainer(Integer ID)
ID - for Container to cleanpublic void cleanContainer(String ID)
ID - for container to cleanpublic void cleanContainerTree(Integer ID)
ID - for Container to cleanpublic void cleanContainerTree(String ID)
ID - for container to cleanpublic void cleanContainerElement(Integer ID)
ID - for container element to cleanpublic void cleanContainerElement(String ID)
ID - for container element to cleanpublic static String convertJNPURLToCacheURL(String JNPURL)
JNPURL - String with JNP URL from Context
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||