@@ -135,21 +135,21 @@ public Set<Map.Entry<Long, byte[]>> allNodes() {
135
135
return getNodesMVMap ().entrySet ();
136
136
}
137
137
138
- public synchronized MVMap <Long , byte []> getNodesMVMap () {
138
+ public MVMap <Long , byte []> getNodesMVMap () {
139
139
ensureMVStoreAvailable ();
140
140
if (nodesMVMap == null )
141
141
nodesMVMap = mvstore .openMap ("nodes" );
142
142
return nodesMVMap ;
143
143
}
144
144
145
- public synchronized MVMap <String , String > getMetaDataMVMap () {
145
+ public MVMap <String , String > getMetaDataMVMap () {
146
146
ensureMVStoreAvailable ();
147
147
if (metadataMVMap == null )
148
148
metadataMVMap = mvstore .openMap ("metadata" );
149
149
return metadataMVMap ;
150
150
}
151
151
152
- public synchronized MVMap <String , Integer > getStringToIntMappings () {
152
+ public MVMap <String , Integer > getStringToIntMappings () {
153
153
ensureMVStoreAvailable ();
154
154
if (stringToIntMappings == null )
155
155
stringToIntMappings = mvstore .openMap ("stringToIntMappings" );
@@ -209,7 +209,7 @@ private void ensureMVStoreAvailable() {
209
209
210
210
private MVStore initializeMVStore () {
211
211
MVStore .Builder builder = new MVStore .Builder ()
212
- .autoCommitBufferSize (1024 * 8 )
212
+ .autoCommitBufferSize (1024 * 64 )
213
213
.compress ()
214
214
.autoCommitDisabled ();
215
215
0 commit comments