Skip to content

Commit

Permalink
https://issues.apache.org/jira/browse/AMQ-6377
Browse files Browse the repository at this point in the history
Adding new setters to KahaDBPersistenceAdapter
  • Loading branch information
cshannon committed Jul 27, 2016
1 parent 7ac89ad commit 498e218
Showing 1 changed file with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public void setIndexDirectory(File indexDirectory) {

/**
* Get the enableJournalDiskSyncs
*
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
* @return the enableJournalDiskSyncs
*/
public boolean isEnableJournalDiskSyncs() {
Expand All @@ -443,13 +443,42 @@ public boolean isEnableJournalDiskSyncs() {
/**
* Set the enableJournalDiskSyncs
*
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
* @param enableJournalDiskSyncs
* the enableJournalDiskSyncs to set
*/
public void setEnableJournalDiskSyncs(boolean enableJournalDiskSyncs) {
this.letter.setEnableJournalDiskSyncs(enableJournalDiskSyncs);
}

/**
* @return
*/
public String getJournalDiskSyncStrategy() {
return letter.getJournalDiskSyncStrategy();
}

/**
* @param journalDiskSyncStrategy
*/
public void setJournalDiskSyncStrategy(String journalDiskSyncStrategy) {
letter.setJournalDiskSyncStrategy(journalDiskSyncStrategy);
}

/**
* @return
*/
public long getJournalDiskSyncInterval() {
return letter.getJournalDiskSyncInterval();
}

/**
* @param journalDiskSyncInterval
*/
public void setJournalDiskSyncInterval(long journalDiskSyncInterval) {
letter.setJournalDiskSyncInterval(journalDiskSyncInterval);
}

/**
* Get the indexCacheSize
*
Expand Down

0 comments on commit 498e218

Please sign in to comment.