com.poscoict.glueframework.cache.remote
Class GlueCacheClearServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.poscoict.glueframework.cache.remote.GlueCacheClearServlet
- All Implemented Interfaces:
- GlueCacheEventReceiver, Serializable, Servlet, ServletConfig
public class GlueCacheClearServlet
- extends HttpServlet
- implements GlueCacheEventReceiver
GlueCacheClearServlet[CacheEventReceiver]´Â cache event¸¦ ¼ö½ÅÇÏ¿©, cacheManagerÀÇ cache data¸¦ »èÁ¦ÇÏ´Â ServletÀÌ´Ù.
web.xml ÆÄÀÏ ³»¿ë
cache
com.poscoict.glueframework.cache.remote.GlueCacheClearServlet
UD_SC_SUCCESS
700
UD_SC_FAILURE
800
2
cache
*.cache
url & parameter
http://://cache.remove
__region_name__, __cache_key__, __requestor__ ·Î
com.poscoict.glueframework.cache.remote.GlueCacheEvent ÀÇ »ý¼ºÀÚ°ªÀ¸·Î »ç¿ëÇÔ.
init-param
GlueCacheClearServlet servletÀÇ init-paramÀº ´ÙÀ½°ú °°´Ù.
- UD_SC_SUCCESS : HttpResponse Á¤»ó »óÅÂÄÚµå Á¤ÀÇ, default 700
- UD_SC_FAILURE : HttpResponse ¿¡·¯ »óÅÂÄÚµå Á¤ÀÇ, default 800
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlueCacheClearServlet
public GlueCacheClearServlet()
getCacheEventProcessor
protected GlueCacheEventProcessor getCacheEventProcessor()
- getter method.
- Returns:
- GlueCacheEventProcessor
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
service
in class HttpServlet
- Throws:
ServletException
IOException
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
removeCachedObject
public int removeCachedObject(String region,
String key)
- Specified by:
removeCachedObject
in interface GlueCacheEventReceiver
removeCachedObject
public int removeCachedObject(String region,
String[] keys)
- Specified by:
removeCachedObject
in interface GlueCacheEventReceiver
Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.