Package bm.core.log

Examples of bm.core.log.Log.debug()


                }
            }
        }
        catch( RecordStoreNotFoundException e )
        {
            log.debug( "RecordStore did not exist" );
        }
        catch( RecordStoreException e )
        {
            log.error( e );
        }
View Full Code Here


    {
        final TableInfo tableInfo = this.tableInfo;
        final IndexInfo[] indexInfo = tableInfo.getIndexInfo();
        final int count = indexInfo != null ? indexInfo.length : 0;
        final Log log = Table.log;
        log.debug( "shutdown table: " + tableInfo.getName() );
        for( int i = 0; i < count; i++ )
        {
            //noinspection ConstantConditions
            final Index index = (Index) indexMap.get(
                    indexInfo[i].getFieldExpression().toLowerCase()
View Full Code Here

        {
            //noinspection ConstantConditions
            final Index index = (Index) indexMap.get(
                    indexInfo[i].getFieldExpression().toLowerCase()
            );
            log.debug( "shutdown index: " + index.getName() );
//            index.shutdown();
            index.drop();
        }
        if( rs != null )
        {
View Full Code Here

        {
            init();
            pe.increment();
            pe.dispatch();

            log.debug( "Starting application" );
            if( !checkConfig() )
            {
                exitApplication();
                return;
            }
View Full Code Here

                System.gc();
                Store.safeDeleteRecordStore( name );
                Store.setBurstMode( !ControlledTask.isBackgroundTask() );
                rs = Store.get( name, 1 );
                rs.open( true );
                log.debug( "created recordstore" );
                final int size = in.readInt();
                log.debug( "index size (entries): " + size );
                if( size > 0 )
                {
                    final ProgressEvent event = new ProgressEvent();
View Full Code Here

                Store.setBurstMode( !ControlledTask.isBackgroundTask() );
                rs = Store.get( name, 1 );
                rs.open( true );
                log.debug( "created recordstore" );
                final int size = in.readInt();
                log.debug( "index size (entries): " + size );
                if( size > 0 )
                {
                    final ProgressEvent event = new ProgressEvent();
                    event.setAnimate( false );
                    event.setCurrentValue( 0 );
View Full Code Here

                    event.setCurrentValue( 0 );
                    event.setMaxValue( new Integer( size ) );
                    event.dispatch();
                    for( int j = 0; j < size; j++ )
                    {
                        log.debug( "record: " + j );
                        final byte[] data = in.readBlob();
                        int rid = rs.addRecord( data, 0, data.length );
                        log.debug( "record added (" + rid + "): " + data.length + " bytes" );
                        event.increment();
                        event.dispatch();
View Full Code Here

                    for( int j = 0; j < size; j++ )
                    {
                        log.debug( "record: " + j );
                        final byte[] data = in.readBlob();
                        int rid = rs.addRecord( data, 0, data.length );
                        log.debug( "record added (" + rid + "): " + data.length + " bytes" );
                        event.increment();
                        event.dispatch();
                        if( j == 0 && rid != 1 )
                        {
                            ErrorLog.addError(
View Full Code Here

                            System.gc();
                        }
                    }
                }
                System.gc();
                log.debug( "index " + name + " finished" );
            }
            finally
            {
                try{ if( rs != null ) rs.close(); }catch( Exception e ){}
                Store.setBurstMode( burstMode );
View Full Code Here

        {
            init();
            pe.increment();
            pe.dispatch();

            log.debug( "Starting application" );
            if( !checkConfig() )
            {
                exitApplication();
                return;
            }
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.