com.khubla.pragmatach.plugin.adminapp
Class ShowRouteCacheController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.plugin.adminapp.BaseAdminController
com.khubla.pragmatach.plugin.adminapp.SecuredAdminController
com.khubla.pragmatach.plugin.adminapp.ShowRouteCacheController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="pragmatachShowRouteCacheController")
@View(view="pragmatach/admin/routecache.html")
public class ShowRouteCacheController
- extends SecuredAdminController
- Author:
- tome
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShowRouteCacheController
public ShowRouteCacheController()
clearCache
@Route(uri="/pragmatach/admin/routecache/clear",
method=post)
public Response clearCache()
throws PragmatachException
- Throws:
PragmatachException
getHitRatio
public float getHitRatio()
getSize
public long getSize()
getTotalHits
public long getTotalHits()
getTotalRequests
public long getTotalRequests()
render
@Route(uri="/pragmatach/admin/routecache")
public Response render()
throws PragmatachException
- Description copied from class:
SecuredAdminController
- check security
- Overrides:
render
in class SecuredAdminController
- Throws:
PragmatachException
setHitRatio
public void setHitRatio(float hitRatio)
setSize
public void setSize(long size)
setTotalHits
public void setTotalHits(long totalHits)
setTotalRequests
public void setTotalRequests(long totalRequests)
Copyright © 2014 khubla.com. All rights reserved.