org.neo4j.graphdb.factory
Class GraphDatabaseSettings.UseMemoryMappedBuffers

java.lang.Object
  extended by org.neo4j.graphdb.factory.GraphDatabaseSetting<T>
      extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.SettingWrapper<Boolean>
          extended by org.neo4j.graphdb.factory.GraphDatabaseSetting.BooleanSetting
              extended by org.neo4j.graphdb.factory.GraphDatabaseSettings.UseMemoryMappedBuffers
All Implemented Interfaces:
Setting<Boolean>, Function<Function<String,String>,Boolean>
Enclosing class:
GraphDatabaseSettings

public static class GraphDatabaseSettings.UseMemoryMappedBuffers
extends GraphDatabaseSetting.BooleanSetting


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
GraphDatabaseSetting.BooleanSetting, GraphDatabaseSetting.DirectorySetting, GraphDatabaseSetting.DoubleSetting, GraphDatabaseSetting.FileSetting, GraphDatabaseSetting.FloatSetting, GraphDatabaseSetting.HostnamePortSetting, GraphDatabaseSetting.IntegerRangeNumberOfBytesSetting, GraphDatabaseSetting.IntegerSetting, GraphDatabaseSetting.LongSetting, GraphDatabaseSetting.NumberOfBytesSetting, GraphDatabaseSetting.OptionsSetting, GraphDatabaseSetting.PortSetting, GraphDatabaseSetting.SettingWrapper<T>, GraphDatabaseSetting.StringSetting, GraphDatabaseSetting.TimeSpanSetting, GraphDatabaseSetting.URISetting
 
Field Summary
 
Fields inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
ANY, DURATION, FALSE, SIZE, TRUE
 
Constructor Summary
GraphDatabaseSettings.UseMemoryMappedBuffers(Setting<Boolean> setting)
           
 
Method Summary
static boolean shouldMemoryMap(Boolean useMemoryMapped)
          Default for this setting is null, so wrap access with this call to figure out actual value at runtime.
 
Methods inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting.SettingWrapper
apply, getDefaultValue, name, toString
 
Methods inherited from class org.neo4j.graphdb.factory.GraphDatabaseSetting
osIsMacOS, osIsWindows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphDatabaseSettings.UseMemoryMappedBuffers

public GraphDatabaseSettings.UseMemoryMappedBuffers(Setting<Boolean> setting)
Method Detail

shouldMemoryMap

public static boolean shouldMemoryMap(Boolean useMemoryMapped)
Default for this setting is null, so wrap access with this call to figure out actual value at runtime. If on Windows, don't do memory mapping, and for other platforms do memory mapping

Parameters:
useMemoryMapped -
Returns:


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.