public class LdifPartitionFactory extends Object implements PartitionFactory
LdifPartitions.| Constructor and Description |
|---|
LdifPartitionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndex(Partition partition,
String attributeId,
int cacheSize)
Adds a partition-specific index to the partition.
|
LdifPartition |
createPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
DnFactory dnFactory,
String id,
String suffix,
int cacheSize,
File workingDirectory)
Creates a new Partition.
|
public LdifPartition createPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, DnFactory dnFactory, String id, String suffix, int cacheSize, File workingDirectory) throws Exception
createPartition in interface PartitionFactoryschemaManager - The SchemaManager instanceid - the partition idsuffix - the suffixcacheSize - the cache sizeworkingDirectory - the working directoryException - the exceptionpublic void addIndex(Partition partition, String attributeId, int cacheSize) throws Exception
addIndex in interface PartitionFactorypartition - the partitionattributeId - the attribute idcacheSize - the cache sizeException - the exceptionCopyright © 2021. All rights reserved.