public interface PartitionFactory
Modifier and Type | Method and Description |
---|---|
void |
addIndex(Partition partition,
String attributeId,
int cacheSize)
Adds a partition-specific index to the partition.
|
Partition |
createPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
DnFactory dnFactory,
String id,
String suffix,
int cacheSize,
File workingDirectory)
Creates a new Partition.
|
Partition createPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, DnFactory dnFactory, String id, String suffix, int cacheSize, File workingDirectory) throws Exception
schemaManager
- The SchemaManager instancednFactory
- The DnFactory instanceid
- the partition idsuffix
- the suffixcacheSize
- the cache sizeworkingDirectory
- the working directoryException
- the exceptionCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.