public class GlueCacheClearServlet extends HttpServlet implements GlueCacheEventReceiver
web.xml ÆÄÀÏ ³»¿ëurl & parameter http:// cache com.poscoict.glueframework.cache.remote.GlueCacheClearServlet UD_SC_SUCCESS 700 UD_SC_FAILURE 800 2 cache *.cache : / /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
Constructor and Description |
---|
GlueCacheClearServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected GlueCacheEventProcessor |
getCacheEventProcessor()
getter method.
|
void |
init(ServletConfig config) |
int |
removeCachedObject(String region,
String key) |
int |
removeCachedObject(String region,
String[] keys) |
protected void |
service(HttpServletRequest request,
HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
protected GlueCacheEventProcessor getCacheEventProcessor()
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public int removeCachedObject(String region, String key)
removeCachedObject
in interface GlueCacheEventReceiver
public int removeCachedObject(String region, String[] keys)
removeCachedObject
in interface GlueCacheEventReceiver
Copyright © 2013–2016 POSCO ICT. All rights reserved.