1 4 5 package org.smartlib.pool.core; 6 7 16 17 18 public interface ConfigMonitor { 19 20 23 public String getMultiPoolName(); 24 25 28 public int getMaxConnections(); 29 30 33 public int getMinConnections(); 34 35 39 public int getIncrement(); 40 41 44 public String getUserName(); 45 46 49 public String getPassword() ; 50 51 54 public PoolConfig.ConnectionString[] getConnectionString(); 55 56 59 public String getDriver(); 60 61 64 public boolean isDetectLeaks(); 65 66 69 public boolean isDefaultPool(); 70 71 74 public long getLeakTimeOut(); 75 76 79 public String getDefaultListener(); 80 81 85 public long getPollThreadTime(); 86 87 91 public boolean isAutoClose(); 92 93 97 public boolean isAllowAnonymousConnections(); 98 99 103 public int getMaxConnectionsForRelease(); 104 105 110 public long getConnectionWaitTimeOut(); 111 112 115 public PoolConfig.ConnectionLoaderClass[] getConnectionLoaderClass(); 116 117 123 public String getValidatorQuery(); 124 125 128 public long getMaxConnectionIdleTime(); 129 130 131 135 public boolean isThreadStickiness(); 136 137 138 142 public void setThreadStickiness(boolean threadStickiness); 143 144 } 145 | Popular Tags |