public class MavibotPartitionFactory extends Object implements PartitionFactory
MavibotPartition
s.Constructor and Description |
---|
MavibotPartitionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addIndex(Partition partition,
String attributeId,
int cacheSize)
Adds a partition-specific index to the partition.
|
MavibotPartition |
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 MavibotPartitionFactory()
public MavibotPartition 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–2020 The Apache Software Foundation. All rights reserved.