Class Server

  • All Implemented Interfaces:
    java.lang.Runnable

    
    public final class Server
     implements Runnable
                        

    Server proxies Bolt 5+ messages to a Neo4j (compatible) database and performs realtime schema validation of the intercepted queries.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • create

        @JvmOverloads() final static Server create(String hostname, Integer port, URI graphUri, Schema schema, Integer parallelism, Integer queryCacheSize)

        Create a Server instance.

        Parameters:
        hostname - the InetSocketAddress.hostname to bind to
        port - the InetSocketAddress.port to bind to
        graphUri - the URI of the graph to proxy data to
        schema - the Schema to use to validate intercepted queries
        parallelism - the number of parallel coroutines used by the Server
        queryCacheSize - the maximum size of the cache for validated queries
      • create

        @JvmOverloads() final static Server create(String hostname, Integer port, URI graphUri, Schema schema, Integer parallelism)

        Create a Server instance.

        Parameters:
        hostname - the InetSocketAddress.hostname to bind to
        port - the InetSocketAddress.port to bind to
        graphUri - the URI of the graph to proxy data to
        schema - the Schema to use to validate intercepted queries
        parallelism - the number of parallel coroutines used by the Server
      • create

        @JvmOverloads() final static Server create(String hostname, Integer port, URI graphUri, Schema schema)

        Create a Server instance.

        Parameters:
        hostname - the InetSocketAddress.hostname to bind to
        port - the InetSocketAddress.port to bind to
        graphUri - the URI of the graph to proxy data to
        schema - the Schema to use to validate intercepted queries