Search in sources :

Example 1 with OServerCommandPostCommandGraph

use of com.orientechnologies.orient.graph.server.command.OServerCommandPostCommandGraph in project orientdb by orientechnologies.

the class OGraphServerHandler method startup.

@Override
public void startup() {
    final OServerNetworkListener listener = server.getListenerByProtocol(ONetworkProtocolHttpAbstract.class);
    if (listener != null)
        listener.registerStatelessCommand(new OServerCommandPostCommandGraph());
    if (!enabled)
        return;
    OGremlinHelper.global().setMaxGraphPool(graphPoolMax).create();
}
Also used : OServerNetworkListener(com.orientechnologies.orient.server.network.OServerNetworkListener) OServerCommandPostCommandGraph(com.orientechnologies.orient.graph.server.command.OServerCommandPostCommandGraph)

Aggregations

OServerCommandPostCommandGraph (com.orientechnologies.orient.graph.server.command.OServerCommandPostCommandGraph)1 OServerNetworkListener (com.orientechnologies.orient.server.network.OServerNetworkListener)1