1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 import com.caucho.jmx.Name; 34 35 42 @Description("Resin's integrated proxy cache") 43 public interface ProxyCacheMXBean extends ManagedObjectMXBean { 44 48 51 @Description("The proxy cache is used to cache responses that" 52 + " set appropriate HTTP headers") 53 public long getHitCountTotal(); 54 55 58 @Description("The proxy cache is used to cache responses that" 59 + " set appropriate HTTP headers") 60 public long getMissCountTotal(); 61 62 66 69 @Description("Clear the cache") 70 public void clearCache(); 71 72 78 @Description("Selectively clear the cache using patterns") 79 public void clearCacheByPattern( 80 @Name("hostRegexp") 81 @Description("A regular expression that matches a host name, null to match all host names") 82 String hostRegexp, 83 84 @Name("urlRegexp") 85 @Description("A regular expression that matches a url, null to match all urls") 86 String urlRegexp); 87 } 88 | Popular Tags |