git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629631 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-02-20 22:05:02 +00:00
parent bca91bb068
commit e0bdc012c1
1 changed files with 9 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class JDBCPersistenceAdapter extends DataSourceSupport implements Persist
private int cleanupPeriod = 1000 * 60 * 5;
private boolean useExternalMessageReferences;
private boolean useDatabaseLock = true;
private int lockKeepAlivePeriod;
private long lockKeepAlivePeriod = 1000*30;
private DatabaseLocker databaseLocker;
private boolean createTablesOnStartup = true;
@ -497,4 +497,12 @@ public class JDBCPersistenceAdapter extends DataSourceSupport implements Persist
public long size(){
return 0;
}
public int getLockKeepAlivePeriod() {
return lockKeepAlivePeriod;
}
public void setLockKeepAlivePeriod(int lockKeepAlivePeriod) {
this.lockKeepAlivePeriod = lockKeepAlivePeriod;
}
}