Adding new setters to KahaDBPersistenceAdapter
This commit is contained in:
Christopher L. Shannon (cshannon) 2016-07-27 17:32:21 -04:00
parent 7ac89adf40
commit 498e2184be
1 changed files with 30 additions and 1 deletions

View File

@ -433,7 +433,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
/**
* Get the enableJournalDiskSyncs
*
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
* @return the enableJournalDiskSyncs
*/
public boolean isEnableJournalDiskSyncs() {
@ -443,6 +443,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
/**
* Set the enableJournalDiskSyncs
*
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
* @param enableJournalDiskSyncs
* the enableJournalDiskSyncs to set
*/
@ -450,6 +451,34 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
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
*