public class MavibotPartitionFactory extends java.lang.Object implements PartitionFactory
MavibotPartitions.| Constructor and Description |
|---|
MavibotPartitionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndex(Partition partition,
java.lang.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,
java.lang.String id,
java.lang.String suffix,
int cacheSize,
java.io.File workingDirectory)
Creates a new Partition.
|
public MavibotPartition createPartition(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager, DnFactory dnFactory, java.lang.String id, java.lang.String suffix, int cacheSize, java.io.File workingDirectory) throws java.lang.Exception
createPartition in interface PartitionFactoryschemaManager - The SchemaManager instanceid - the partition idsuffix - the suffixcacheSize - the cache sizeworkingDirectory - the working directoryjava.lang.Exception - the exceptionpublic void addIndex(Partition partition, java.lang.String attributeId, int cacheSize) throws java.lang.Exception
addIndex in interface PartitionFactorypartition - the partitionattributeId - the attribute idcacheSize - the cache sizejava.lang.Exception - the exception