org.openrdf.server.metadata.cache
Class CachingFilter

java.lang.Object
  extended by org.openrdf.server.metadata.cache.CachingFilter
All Implemented Interfaces:
Filter

public class CachingFilter
extends Object
implements Filter


Constructor Summary
CachingFilter(File dataDir, int maxCapacity)
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 int getMaxCapacity()
           
 void init(FilterConfig config)
           
 void setMaxCapacity(int maxCapacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingFilter

public CachingFilter(File dataDir,
                     int maxCapacity)
Method Detail

getMaxCapacity

public int getMaxCapacity()

setMaxCapacity

public void setMaxCapacity(int maxCapacity)

init

public void init(FilterConfig config)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.