@Override protected void configure() { bind(DanglingIndicesState.class).asEagerSingleton(); bind(GatewayService.class).asEagerSingleton(); bind(TransportNodesListGatewayMetaState.class).asEagerSingleton(); bind(TransportNodesListGatewayStartedShards.class).asEagerSingleton(); bind(LocalAllocateDangledIndices.class).asEagerSingleton(); } }
public GatewayModule(Settings settings) { this.settings = settings; registerGatewayType("default", Gateway.class); }
settingsModule.getClusterSettings()); resourcesToClose.add(circuitBreakerService); modules.add(new GatewayModule());
@Override protected void configure() { bind(MetaStateService.class).asEagerSingleton(); bind(DanglingIndicesState.class).asEagerSingleton(); bind(GatewayService.class).asEagerSingleton(); gatewayTypes.bindType(binder(), settings, GATEWAY_TYPE_KEY, "default"); bind(TransportNodesListGatewayMetaState.class).asEagerSingleton(); bind(GatewayMetaState.class).asEagerSingleton(); bind(TransportNodesListGatewayStartedShards.class).asEagerSingleton(); bind(LocalAllocateDangledIndices.class).asEagerSingleton(); } }
settingsModule.getClusterSettings()); resourcesToClose.add(circuitBreakerService); modules.add(new GatewayModule());
threadPool, pluginsService.filterPlugins(ActionPlugin.class), client, circuitBreakerService); modules.add(actionModule); modules.add(new GatewayModule());
@Override protected void configure() { //bind(DanglingIndicesState.class).asEagerSingleton(); bind(CassandraGatewayService.class).asEagerSingleton(); bind(TransportNodesListGatewayMetaState.class).asEagerSingleton(); bind(GatewayMetaState.class).asEagerSingleton(); bind(TransportNodesListGatewayStartedShards.class).asEagerSingleton(); //bind(LocalAllocateDangledIndices.class).asEagerSingleton(); } }
settingsModule.getClusterSettings()); resourcesToClose.add(circuitBreakerService); modules.add(new GatewayModule());
@Override protected void configure() { bind(DanglingIndicesState.class).asEagerSingleton(); bind(GatewayService.class).asEagerSingleton(); bind(TransportNodesListGatewayMetaState.class).asEagerSingleton(); bind(TransportNodesListGatewayStartedShards.class).asEagerSingleton(); bind(LocalAllocateDangledIndices.class).asEagerSingleton(); } }
modules.add(new ActionModule(false)); modules.add(new MonitorModule(settings)); modules.add(new GatewayModule(settings)); modules.add(new NodeClientModule()); modules.add(new ShapeModule());
@Override protected void configure() { bind(DanglingIndicesState.class).asEagerSingleton(); bind(GatewayService.class).asEagerSingleton(); bind(TransportNodesListGatewayMetaState.class).asEagerSingleton(); bind(TransportNodesListGatewayStartedShards.class).asEagerSingleton(); bind(LocalAllocateDangledIndices.class).asEagerSingleton(); } }
modules.add(new ActionModule(false)); modules.add(new MonitorModule(settings)); modules.add(new GatewayModule(settings)); modules.add(new NodeClientModule());
modules.add(new ActionModule(false)); modules.add(new MonitorModule(settings)); modules.add(new GatewayModule(settings)); modules.add(new NodeClientModule()); modules.add(new BulkUdpModule());