Package org.neo4j.kernel.impl.util

Examples of org.neo4j.kernel.impl.util.StringLogger.logMessage()


            {
                if ( getConfig() != null )
                {
                    String storeDir = (String) getConfig().get( "store_dir" );
                    StringLogger msgLog = StringLogger.getLogger( storeDir );
                    msgLog.logMessage( getStorageFileName() + " non clean shutdown detected", true );
                }
            }
        }
       
        setWindowPool( new PersistenceWindowPool( getStorageFileName(),
View Full Code Here


            + " (defragged=" + defraggedCount + ")" );
        if ( getConfig() != null )
        {
            String storeDir = (String) getConfig().get( "store_dir" );
            StringLogger msgLog = StringLogger.getLogger( storeDir );
            msgLog.logMessage( getStorageFileName() + " rebuild id generator, highId=" + getHighId() +
                    " defragged count=" + defraggedCount, true );
        }
        closeIdGenerator();
        openIdGenerator();
    }
View Full Code Here

        config.getIdGeneratorModule().start();
        config.getGraphDbModule().start( config.getLockReleaser(),
                config.getPersistenceModule().getPersistenceManager(),
                config.getRelationshipTypeCreator(), params );

        logger.logMessage( "--- CONFIGURATION START ---" );
        logger.logMessage( autoConfigurator.getNiceMemoryInformation() );
        logger.logMessage( "Kernel version: " + Version.getKernel() );
        for ( Version componentVersion : Service.load( Version.class ) )
        {
            logger.logMessage( componentVersion.toString() );
View Full Code Here

        config.getGraphDbModule().start( config.getLockReleaser(),
                config.getPersistenceModule().getPersistenceManager(),
                config.getRelationshipTypeCreator(), params );

        logger.logMessage( "--- CONFIGURATION START ---" );
        logger.logMessage( autoConfigurator.getNiceMemoryInformation() );
        logger.logMessage( "Kernel version: " + Version.getKernel() );
        for ( Version componentVersion : Service.load( Version.class ) )
        {
            logger.logMessage( componentVersion.toString() );
        }
View Full Code Here

                config.getPersistenceModule().getPersistenceManager(),
                config.getRelationshipTypeCreator(), params );

        logger.logMessage( "--- CONFIGURATION START ---" );
        logger.logMessage( autoConfigurator.getNiceMemoryInformation() );
        logger.logMessage( "Kernel version: " + Version.getKernel() );
        for ( Version componentVersion : Service.load( Version.class ) )
        {
            logger.logMessage( componentVersion.toString() );
        }
        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
View Full Code Here

        logger.logMessage( "--- CONFIGURATION START ---" );
        logger.logMessage( autoConfigurator.getNiceMemoryInformation() );
        logger.logMessage( "Kernel version: " + Version.getKernel() );
        for ( Version componentVersion : Service.load( Version.class ) )
        {
            logger.logMessage( componentVersion.toString() );
        }
        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
        OperatingSystemMXBean os = ManagementFactory.getOperatingSystemMXBean();
        logger.logMessage( String.format( "Operating System: %s; version: %s; arch: %s; cpus: %s",
                os.getName(), os.getVersion(), os.getArch(), os.getAvailableProcessors() ) );
View Full Code Here

        {
            logger.logMessage( componentVersion.toString() );
        }
        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
        OperatingSystemMXBean os = ManagementFactory.getOperatingSystemMXBean();
        logger.logMessage( String.format( "Operating System: %s; version: %s; arch: %s; cpus: %s",
                os.getName(), os.getVersion(), os.getArch(), os.getAvailableProcessors() ) );
        logger.logMessage( "VM Name: " + runtime.getVmName() );
        logger.logMessage( "VM Vendor: " + runtime.getVmVendor() );
        logger.logMessage( "VM Version: " + runtime.getVmVersion() );
        if ( runtime.isBootClassPathSupported() )
View Full Code Here

        }
        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
        OperatingSystemMXBean os = ManagementFactory.getOperatingSystemMXBean();
        logger.logMessage( String.format( "Operating System: %s; version: %s; arch: %s; cpus: %s",
                os.getName(), os.getVersion(), os.getArch(), os.getAvailableProcessors() ) );
        logger.logMessage( "VM Name: " + runtime.getVmName() );
        logger.logMessage( "VM Vendor: " + runtime.getVmVendor() );
        logger.logMessage( "VM Version: " + runtime.getVmVersion() );
        if ( runtime.isBootClassPathSupported() )
        {
            logger.logMessage( "Boot Class Path: " + runtime.getBootClassPath() );
View Full Code Here

        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
        OperatingSystemMXBean os = ManagementFactory.getOperatingSystemMXBean();
        logger.logMessage( String.format( "Operating System: %s; version: %s; arch: %s; cpus: %s",
                os.getName(), os.getVersion(), os.getArch(), os.getAvailableProcessors() ) );
        logger.logMessage( "VM Name: " + runtime.getVmName() );
        logger.logMessage( "VM Vendor: " + runtime.getVmVendor() );
        logger.logMessage( "VM Version: " + runtime.getVmVersion() );
        if ( runtime.isBootClassPathSupported() )
        {
            logger.logMessage( "Boot Class Path: " + runtime.getBootClassPath() );
        }
View Full Code Here

        OperatingSystemMXBean os = ManagementFactory.getOperatingSystemMXBean();
        logger.logMessage( String.format( "Operating System: %s; version: %s; arch: %s; cpus: %s",
                os.getName(), os.getVersion(), os.getArch(), os.getAvailableProcessors() ) );
        logger.logMessage( "VM Name: " + runtime.getVmName() );
        logger.logMessage( "VM Vendor: " + runtime.getVmVendor() );
        logger.logMessage( "VM Version: " + runtime.getVmVersion() );
        if ( runtime.isBootClassPathSupported() )
        {
            logger.logMessage( "Boot Class Path: " + runtime.getBootClassPath() );
        }
        logger.logMessage( "Class Path: " + runtime.getClassPath() );
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.