Examples of RecordManager


Examples of jdbm.RecordManager

     */
    public RecordManager createRecordManager( String name,
                                              Properties options )
        throws IOException
    {
        RecordManager  recman;
        String         value;
        int            cacheSize;

        recman = new BaseRecordManager( name );

View Full Code Here

Examples of kr.or.ioi2002.RMIServer.RecordManager

    private ManagerMediator mediator;

    public GraderManager(int gradingPort, String workingDirectory) {
        super(gradingPort);
        recordManager = new RecordManager();
        gradingQueueManager = new GradingQueue(workingDirectory);
        machineQueueManager = new MachineQueueManager();
        this.fileRoot = new File(workingDirectory, "USERS");
    }
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

    @Before
    public void setup() throws IOException
    {
        dbFileDir = tempFolder.newFolder( MavibotIndexTest.class.getSimpleName() );

        recordMan = new RecordManager( dbFileDir.getAbsolutePath() );
    }
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager


    @Before
    public void setup() throws IOException
    {
        recordMan = new RecordManager( tmpDir.getRoot().getAbsolutePath() );
    }
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

    @Before
    public void createTable() throws Exception
    {
        destroyTable();

        recordMan = new RecordManager( tmpDir.getRoot().getAbsolutePath() );

        table = new MavibotMasterTable( recordMan, schemaManager, "master" );
        LOG.debug( "Created new table and populated it with data" );
    }
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

            else
            {
                LOG.debug( "Using the custom configured cache size of {} for {} partition", cacheSize, id );
            }

            recordMan = new RecordManager( partitionDir.getPath() );

            // Initialize the indexes
            super.doInit();

            // First, check if the file storing the data exists
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

        config.setValueSerializer( StringSerializer.INSTANCE );

        BTree<Entry, String> btree = BTreeFactory.createPersistedBTree( config );

        File file = File.createTempFile( btree.getName(), ".sorted-data" );
        RecordManager recMan = new RecordManager( file.getAbsolutePath() );

        try
        {
            recMan.manage( btree );
        }
        catch ( BTreeAlreadyManagedException e )
        {
            throw new LdapException( e );
        }
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

        }

        MavibotPartition mavibotPartition = ( MavibotPartition ) partition;
        Set<Index<?, ?, String>> indexedAttributes = mavibotPartition.getIndexedAttributes();

        RecordManager recordMan = ( ( MavibotPartition ) partition ).getRecordMan();
       
        MavibotIndex<Object, Entry> index = new MavibotIndex<Object, Entry>( recordMan, attributeId, false );
        index.setCacheSize( cacheSize );

        indexedAttributes.add( index );
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager

            if ( !partitionDir.exists() && !partitionDir.mkdirs() )
            {
                throw new IOException( I18n.err( I18n.ERR_112_COULD_NOT_CREATE_DIRECORY, partitionDir ) );
            }

            recordMan = new RecordManager( partitionDir.getPath() );

            // Initialize the indexes
            super.doInit();

            // First, check if the file storing the data exists
View Full Code Here

Examples of org.apache.directory.mavibot.btree.RecordManager


    @Before
    public void setup() throws IOException
    {
        recordMan = new RecordManager( tmpDir.getRoot().getAbsolutePath() );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.