|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
GlueCacheLoader | ij½¬ ·Î´õ ÀÎÅÍÆäÀ̽º. |
GlueCacheManager | ij½¬¿¡ °ü·ÃµÈ ¼ºñ½º¸¦ Á¦°øÇÏ´Â ÀÎÅÍÆäÀ̽º. |
GlueCacheRegions | Glue Framework¿¡¼ »ç¿ëÇϴ ij½¬ ¿µ¿ª¸íÀ» Á¤ÀÇÇÑ ÀÎÅÍÆäÀ̽º »ó¼ö. |
Exception Summary | |
---|---|
GlueCacheException | Cache System¿¡ °ü·ÃµÈ ¿¡·¯°¡ ¹ß»ýÇÏ¸é ´øÁ®Áö´Â Exception Ŭ·¡½º |
cache package.
Cache Manager ´Â applicationContext.xml¿¡ ´ÙÀ½°ú °°ÀÌ Á¤ÀÇÇÑ´Ù. µÑ Áß Çϳª¸¦ ¼±ÅÃÇؼ »ç¿ëÇϵµ·Ï ÇÑ´Ù.
applicationCotext.xml ¿¹java code ¿¹ Strinb cacheManagerBeanId = ... ; GlueCacheManager cacheManager = (GlueCacheManager)GlueStaticContext.getBeanFactory().getBeanObject(cacheManagerBeanId); Object cacheKey = "test-key"; Object cacheObject = null; cacheObject = cacheManager.getCacheObject(cacheKey); if(cacheObject == null){ cacheObject = "ABC"; cacheManager.putCacheObject(cacheKey, cacheObject); System.out.println(cacheKey + "ÀÇ À̸§À¸·Î ["+ cacheObject + "]¸¦ ij½ÌÇÕ´Ï´Ù."); }else{ System.out.println(cacheKey + "ÀÇ À̸§À¸·Î ij½ÌµÈ Data´Â ["+ cacheObject + "] ÀÔ´Ï´Ù. "); }
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |