|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.kernel.Config
public class Config
A non-standard configuration object.
Field Summary | |
---|---|
static String |
ALLOW_STORE_UPGRADE
Boolean (one of true,false) defining whether to allow a store upgrade in case the current version of the database starts against an older store version. |
static String |
ARRAY_BLOCK_SIZE
|
static String |
ARRAY_PROPERTY_STORE_MMAP_SIZE
The size to allocate for memory mapping the array property store |
static String |
BACKUP_SLAVE
Mark this database as a backup slave. |
static String |
CACHE_TYPE
The type of cache to use for nodes and relationships, one of [weak, soft, none] |
static String |
DEFAULT_DATA_SOURCE_NAME
|
static String |
DUMP_CONFIGURATION
Print out the effective Neo4j configuration after startup |
static String |
ENABLE_ONLINE_BACKUP
Enable a support for running online backups |
static String |
ENABLE_REMOTE_SHELL
Enable a remote shell server which shell clients can log in to |
static String |
INTERCEPT_COMMITTING_TRANSACTIONS
Determines whether any TransactionInterceptors loaded will intercept prepared transactions before they reach the logical log. |
static String |
INTERCEPT_DESERIALIZED_TRANSACTIONS
Determines whether any TransactionInterceptors loaded will intercept externally received transactions (e.g. |
static String |
KEEP_LOGICAL_LOGS
Make Neo4j keep the logical transaction logs for being able to backup the database |
static String |
LOGICAL_LOG
Relative path for where the Neo4j logical log is located |
static String |
LUCENE_SEARCHER_CACHE_SIZE
Integer value that sets the maximum number of open lucene index searchers. |
static String |
LUCENE_WRITER_CACHE_SIZE
Integer value that sets the maximum number of open lucene index writers. |
static String |
NEO_STORE
Relative path for where the Neo4j storage information file is located |
static String |
NODE_AUTO_INDEXING
Boolean value (one of true, false) that controls the auto indexing feature for nodes. |
static String |
NODE_KEYS_INDEXABLE
A list of property names (comma separated) that will be indexed by default. |
static String |
NODE_STORE_MMAP_SIZE
The size to allocate for memory mapping the node store |
static String |
PROPERTY_INDEX_KEY_STORE_MMAP_SIZE
The size to allocate for memory mapping the store for property key strings |
static String |
PROPERTY_INDEX_STORE_MMAP_SIZE
The size to allocate for memory mapping the store for property key indexes |
static String |
PROPERTY_STORE_MMAP_SIZE
The size to allocate for memory mapping the property value store |
static String |
READ_ONLY
Only allow read operations from this Neo4j instance. |
static String |
REBUILD_IDGENERATORS_FAST
Use a quick approach for rebuilding the ID generators. |
static String |
RELATIONSHIP_AUTO_INDEXING
Boolean value (one of true, false) that controls the auto indexing feature for relationships. |
static String |
RELATIONSHIP_KEYS_INDEXABLE
A list of property names (comma separated) that will be indexed by default. |
static String |
RELATIONSHIP_STORE_MMAP_SIZE
The size to allocate for memory mapping the relationship store |
static String |
STORAGE_DIRECTORY
Relative path for where the Neo4j storage directory is located |
static String |
STRING_BLOCK_SIZE
|
static String |
STRING_PROPERTY_STORE_MMAP_SIZE
The size to allocate for memory mapping the string property store |
static String |
TXMANAGER_IMPLEMENTATION
The name of the Transaction Manager service to use as defined in the TM service provider constructor, defaults to native. |
static String |
USE_MEMORY_MAPPED_BUFFERS
Tell Neo4j to use memory mapped buffers for accessing the native storage layer |
Method Summary | |
---|---|
void |
acceptDiagnosticsVisitor(Object visitor)
Accept a visitor that may or may not be capable of visiting this object. |
static boolean |
configValueContainsMultipleParameters(String configValue)
|
void |
dump(DiagnosticsPhase phase,
org.neo4j.kernel.impl.util.StringLogger log)
Dump the diagnostic information of this DiagnosticsProvider for
the specified phase to the provided
log . |
static void |
dumpConfiguration(Map<?,?> config)
|
static Map<Object,Object> |
getDefaultParams()
|
String |
getDiagnosticsIdentifier()
Return an identifier for this DiagnosticsProvider . |
DiagnosticsManager |
getDiagnosticsManager()
|
static Object |
getFromConfig(Map<?,?> config,
Object key,
Object defaultValue)
|
org.neo4j.kernel.impl.core.GraphDbModule |
getGraphDbModule()
|
IdGeneratorFactory |
getIdGeneratorFactory()
|
org.neo4j.kernel.impl.persistence.IdGeneratorModule |
getIdGeneratorModule()
|
org.neo4j.kernel.impl.index.IndexStore |
getIndexStore()
|
org.neo4j.kernel.impl.transaction.LockManager |
getLockManager()
|
org.neo4j.kernel.impl.core.LockReleaser |
getLockReleaser()
|
Map<Object,Object> |
getParams()
|
org.neo4j.kernel.impl.persistence.PersistenceModule |
getPersistenceModule()
|
org.neo4j.kernel.impl.core.RelationshipTypeCreator |
getRelationshipTypeCreator()
|
org.neo4j.kernel.impl.core.RelationshipTypeHolder |
getRelationshipTypeHolder()
|
org.neo4j.kernel.impl.transaction.TxModule |
getTxModule()
|
boolean |
isEphemeral()
|
boolean |
isReadOnly()
|
static boolean |
osIsMacOS()
|
static boolean |
osIsWindows()
|
static Args |
parseMapFromConfigValue(String name,
String configValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_DATA_SOURCE_NAME
public static final String USE_MEMORY_MAPPED_BUFFERS
public static final String DUMP_CONFIGURATION
public static final String KEEP_LOGICAL_LOGS
public static final String ENABLE_REMOTE_SHELL
public static final String ENABLE_ONLINE_BACKUP
public static final String BACKUP_SLAVE
public static final String READ_ONLY
public static final String STORAGE_DIRECTORY
public static final String REBUILD_IDGENERATORS_FAST
public static final String NODE_STORE_MMAP_SIZE
public static final String ARRAY_PROPERTY_STORE_MMAP_SIZE
public static final String PROPERTY_INDEX_KEY_STORE_MMAP_SIZE
public static final String PROPERTY_INDEX_STORE_MMAP_SIZE
public static final String PROPERTY_STORE_MMAP_SIZE
public static final String STRING_PROPERTY_STORE_MMAP_SIZE
public static final String RELATIONSHIP_STORE_MMAP_SIZE
public static final String LOGICAL_LOG
public static final String NEO_STORE
public static final String CACHE_TYPE
public static final String TXMANAGER_IMPLEMENTATION
public static final String INTERCEPT_COMMITTING_TRANSACTIONS
public static final String INTERCEPT_DESERIALIZED_TRANSACTIONS
public static final String ALLOW_STORE_UPGRADE
public static final String STRING_BLOCK_SIZE
public static final String ARRAY_BLOCK_SIZE
public static final String NODE_KEYS_INDEXABLE
public static final String RELATIONSHIP_KEYS_INDEXABLE
public static final String NODE_AUTO_INDEXING
public static final String RELATIONSHIP_AUTO_INDEXING
public static final String LUCENE_SEARCHER_CACHE_SIZE
public static final String LUCENE_WRITER_CACHE_SIZE
Method Detail |
---|
public static Map<Object,Object> getDefaultParams()
public static boolean osIsWindows()
public static boolean osIsMacOS()
public org.neo4j.kernel.impl.transaction.TxModule getTxModule()
public org.neo4j.kernel.impl.core.GraphDbModule getGraphDbModule()
public org.neo4j.kernel.impl.persistence.PersistenceModule getPersistenceModule()
public org.neo4j.kernel.impl.persistence.IdGeneratorModule getIdGeneratorModule()
public org.neo4j.kernel.impl.transaction.LockManager getLockManager()
public org.neo4j.kernel.impl.index.IndexStore getIndexStore()
public org.neo4j.kernel.impl.core.LockReleaser getLockReleaser()
public Map<Object,Object> getParams()
public boolean isReadOnly()
public boolean isEphemeral()
public org.neo4j.kernel.impl.core.RelationshipTypeCreator getRelationshipTypeCreator()
public IdGeneratorFactory getIdGeneratorFactory()
public org.neo4j.kernel.impl.core.RelationshipTypeHolder getRelationshipTypeHolder()
public static void dumpConfiguration(Map<?,?> config)
public static boolean configValueContainsMultipleParameters(String configValue)
public static Args parseMapFromConfigValue(String name, String configValue)
public static Object getFromConfig(Map<?,?> config, Object key, Object defaultValue)
public DiagnosticsManager getDiagnosticsManager()
public String getDiagnosticsIdentifier()
DiagnosticsProvider
DiagnosticsProvider
. The result of
this method must be stable, i.e. invoking this method multiple times on
the same object should return equal
strings
.
For DiagnosticsProvider
s where there is only one instance of that
DiagnosticsProvider
, an implementation like this is would be a
sane default, given that the implementing class has a sensible name:
public String getDiagnosticsIdentifier()
{
return getClass().getName();
}
getDiagnosticsIdentifier
in interface DiagnosticsProvider
public void acceptDiagnosticsVisitor(Object visitor)
DiagnosticsProvider
class OperationalStatistics implements DiagnosticsProvider
{
public void acceptDiagnosticsVisitor
( Object
visitor )
{
if ( visitor instanceof OperationalStatisticsVisitor )
{
((OperationalStatisticsVisitor)visitor).visitOperationalStatistics( this );
}
}
}
interface OperationalStatisticsVisitor
{
void visitOperationalStatistics( OperationalStatistics statistics );
}
acceptDiagnosticsVisitor
in interface DiagnosticsProvider
visitor
- the visitor visiting this DiagnosticsProvider
.public void dump(DiagnosticsPhase phase, org.neo4j.kernel.impl.util.StringLogger log)
DiagnosticsProvider
DiagnosticsProvider
for
the specified phase
to the provided
log
.
dump
in interface DiagnosticsProvider
phase
- the phase
to dump information for.log
- the log
to dump information to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |