1 16 17 package org.apache.commons.dbcp; 18 19 26 public class AbandonedConfig { 27 28 private boolean removeAbandoned = false; 29 30 42 public boolean getRemoveAbandoned() { 43 return (this.removeAbandoned); 44 } 45 46 58 public void setRemoveAbandoned(boolean removeAbandoned) { 59 this.removeAbandoned = removeAbandoned; 60 } 61 62 private int removeAbandonedTimeout = 300; 63 64 71 public int getRemoveAbandonedTimeout() { 72 return (this.removeAbandonedTimeout); 73 } 74 75 82 public void setRemoveAbandonedTimeout(int removeAbandonedTimeout) { 83 this.removeAbandonedTimeout = removeAbandonedTimeout; 84 } 85 86 private boolean logAbandoned = false; 87 88 99 public boolean getLogAbandoned() { 100 return (this.logAbandoned); 101 } 102 103 114 public void setLogAbandoned(boolean logAbandoned) { 115 this.logAbandoned = logAbandoned; 116 } 117 118 } 119 | Popular Tags |