Package org.neo4j.smack.performance

Source Code of org.neo4j.smack.performance.PerfTestServer

package org.neo4j.smack.performance;

import org.neo4j.smack.Smack;
import org.neo4j.smack.test.util.PerformanceRoutes;
import org.neo4j.test.ImpermanentGraphDatabase;

public class PerfTestServer {

    private static Smack server;

    public static void main(String [] args) {
        server = new Smack("localhost", 7473, new ImpermanentGraphDatabase());
        server.addRoute("",new PerformanceRoutes());
        server.start();
       
        try
        {
            Thread.sleep(1000 * 60 * 60 * 24 * 7);
        } catch (InterruptedException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
       
        server.stop();
    }
   
}
TOP

Related Classes of org.neo4j.smack.performance.PerfTestServer

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.