pass asyncWrite flag to page file

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-02-05 15:29:00 +00:00
parent 690b7bcbd1
commit 3c543a0cd0
1 changed files with 1 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@ public class MessageDatabase {
private PageFile createPageFile() {
PageFile pf = new PageFile(directory, "db");
pf.setEnableAsyncWrites(!isSyncWrites());
return pf;
}