
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, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logprotected GlueCacheEventProcessor getCacheEventProcessor()
public void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletServletExceptionprotected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service in class HttpServletServletExceptionIOExceptionpublic void destroy()
destroy in interface Servletdestroy in class GenericServletpublic int removeCachedObject(String region, String key)
removeCachedObject in interface GlueCacheEventReceiverpublic int removeCachedObject(String region, String[] keys)
removeCachedObject in interface GlueCacheEventReceiverCopyright © 2013–2021 POSCO ICT. All rights reserved.