public class AvlPartitionFactory extends Object implements PartitionFactory
AvlPartition
s.Constructor and Description |
---|
AvlPartitionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addIndex(Partition partition,
String attributeId,
int cacheSize)
Adds a partition-specific index to the partition.
|
AvlPartition |
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 AvlPartitionFactory()
public AvlPartition 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 PartitionFactory
schemaManager
- The SchemaManager instancednFactory
- The DnFactory 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 PartitionFactory
partition
- the partitionattributeId
- the attribute idcacheSize
- the cache sizeException
- the exceptionCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.