mirror of https://github.com/apache/activemq.git
Adding new setters to KahaDBPersistenceAdapter
This commit is contained in:
parent
7ac89adf40
commit
498e2184be
|
@ -433,7 +433,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the enableJournalDiskSyncs
|
* Get the enableJournalDiskSyncs
|
||||||
*
|
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
|
||||||
* @return the enableJournalDiskSyncs
|
* @return the enableJournalDiskSyncs
|
||||||
*/
|
*/
|
||||||
public boolean isEnableJournalDiskSyncs() {
|
public boolean isEnableJournalDiskSyncs() {
|
||||||
|
@ -443,6 +443,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
|
||||||
/**
|
/**
|
||||||
* Set the enableJournalDiskSyncs
|
* Set the enableJournalDiskSyncs
|
||||||
*
|
*
|
||||||
|
* @deprecated use {@link #setEnableJournalDiskSyncs} instead
|
||||||
* @param enableJournalDiskSyncs
|
* @param enableJournalDiskSyncs
|
||||||
* the enableJournalDiskSyncs to set
|
* the enableJournalDiskSyncs to set
|
||||||
*/
|
*/
|
||||||
|
@ -450,6 +451,34 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
|
||||||
this.letter.setEnableJournalDiskSyncs(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
|
* Get the indexCacheSize
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue