1 17 18 19 package org.apache.catalina; 20 21 22 import java.beans.PropertyChangeListener ; 23 import java.io.IOException ; 24 25 26 45 46 public interface Manager { 47 48 49 51 52 55 public Container getContainer(); 56 57 58 63 public void setContainer(Container container); 64 65 66 70 public boolean getDistributable(); 71 72 73 80 public void setDistributable(boolean distributable); 81 82 83 88 public String getInfo(); 89 90 91 95 public int getMaxInactiveInterval(); 96 97 98 104 public void setMaxInactiveInterval(int interval); 105 106 107 113 public int getSessionIdLength(); 114 115 116 122 public void setSessionIdLength(int idLength); 123 124 125 130 public int getSessionCounter(); 131 132 133 138 public void setSessionCounter(int sessionCounter); 139 140 141 148 public int getMaxActive(); 149 150 151 158 public void setMaxActive(int maxActive); 159 160 161 166 public int getActiveSessions(); 167 168 169 174 public int getExpiredSessions(); 175 176 177 182 public void setExpiredSessions(int expiredSessions); 183 184 185 191 public int getRejectedSessions(); 192 193 194 200 public void setRejectedSessions(int rejectedSessions); 201 202 203 210 public int getSessionMaxAliveTime(); 211 212 213 220 public void setSessionMaxAliveTime(int sessionMaxAliveTime); 221 222 223 230 public int getSessionAverageAliveTime(); 231 232 233 240 public void setSessionAverageAliveTime(int sessionAverageAliveTime); 241 242 243 245 246 251 public void add(Session session); 252 253 254 259 public void addPropertyChangeListener(PropertyChangeListener listener); 260 261 262 267 public Session createEmptySession(); 268 269 270 281 public Session createSession(); 282 283 284 298 public Session createSession(String sessionId); 299 300 301 312 public Session findSession(String id) throws IOException ; 313 314 315 319 public Session[] findSessions(); 320 321 322 331 public void load() throws ClassNotFoundException , IOException ; 332 333 334 339 public void remove(Session session); 340 341 342 347 public void removePropertyChangeListener(PropertyChangeListener listener); 348 349 350 357 public void unload() throws IOException ; 358 359 364 public void backgroundProcess(); 365 366 } 367 | Popular Tags |