1 17 18 package org.apache.geronimo.jetty; 19 20 import org.mortbay.http.HttpContext; 21 import org.mortbay.http.HttpListener; 22 import org.mortbay.http.RequestLog; 23 import org.mortbay.http.UserRealm; 24 25 28 public interface JettyContainer { 29 void addListener(HttpListener listener); 30 31 void removeListener(HttpListener listener); 32 33 void addContext(HttpContext context); 34 35 void removeContext(HttpContext context); 36 37 void addRealm(UserRealm realm); 38 39 void removeRealm(UserRealm realm); 40 41 void resetStatistics(); 42 43 void setCollectStatistics(boolean on); 44 45 boolean getCollectStatistics(); 46 47 long getCollectStatisticsStarted(); 48 49 int getConnections(); 50 51 int getConnectionsOpen(); 52 53 int getConnectionsOpenMax(); 54 55 long getConnectionsDurationAve(); 56 57 long getConnectionsDurationMax(); 58 59 int getConnectionsRequestsAve(); 60 61 int getConnectionsRequestsMax(); 62 63 int getErrors(); 64 65 int getRequests(); 66 67 int getRequestsActive(); 68 69 int getRequestsActiveMax(); 70 71 long getRequestsDurationAve(); 72 73 long getRequestsDurationMax(); 74 75 void setRequestLog(RequestLog log); 76 77 78 RequestLog getRequestLog(); 79 } 80 | Popular Tags |