Search in sources :

Example 1 with HotRodServer

use of org.infinispan.server.hotrod.HotRodServer in project gora by apache.

the class SimulationDriver method startHotRodServer.

protected void startHotRodServer(GlobalConfigurationBuilder gbuilder, ConfigurationBuilder builder, int nodeIndex) {
    TransportFlags transportFlags = new TransportFlags();
    EmbeddedCacheManager cm = addClusterEnabledCacheManager(gbuilder, builder, transportFlags);
    HotRodServer server = HotRodClientTestingUtil.startHotRodServer(cm);
    servers.add(server);
}
Also used : HotRodServer(org.infinispan.server.hotrod.HotRodServer) TransportFlags(org.infinispan.test.fwk.TransportFlags) EmbeddedCacheManager(org.infinispan.manager.EmbeddedCacheManager)

Aggregations

EmbeddedCacheManager (org.infinispan.manager.EmbeddedCacheManager)1 HotRodServer (org.infinispan.server.hotrod.HotRodServer)1 TransportFlags (org.infinispan.test.fwk.TransportFlags)1