public class GlueCacheClearServlet extends javax.servlet.http.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(javax.servlet.ServletConfig config) |
int |
removeCachedObject(String region,
String key) |
int |
removeCachedObject(String region,
String[] keys) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
protected GlueCacheEventProcessor getCacheEventProcessor()
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.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–2020 POSCO ICT. All rights reserved.