@Test @DisplayName("tell when not running without any specific server environment") void tellIfStandalone() { assertEquals(STANDALONE, serverEnvironment.deploymentType()); }
public DeploymentType deploymentType() { return deploymentDetector.get(); }
ServerEnvironment implements AutoCloseable { public DeploymentType deploymentType() { return deploymentDetector.get(); } }
ServerEnvironment implements AutoCloseable { public DeploymentType deploymentType() { return deploymentDetector.get(); } private  ServerEnvironment(); }
ServerEnvironment implements AutoCloseable { public DeploymentType deploymentType() { return deploymentDetector.get(); } private  ServerEnvironment(); static ServerEnvironment instance(); DeploymentType deploymentType(); @Deprecated synchronized void configureDelivery(Delivery delivery); synchronized Delivery delivery(); CommandScheduler newCommandScheduler(); void scheduleCommandsUsing(Supplier<CommandScheduler> commandScheduler); NodeId nodeId(); @VisibleForTesting void configureDeployment(Supplier<DeploymentType> supplier); @CanIgnoreReturnValue ServerEnvironment use(StorageFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(StorageFactory factory, Class<? extends EnvironmentType> type); @CanIgnoreReturnValue ServerEnvironment use(Delivery delivery, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(Delivery delivery, Class<? extends EnvironmentType> envType); @CanIgnoreReturnValue ServerEnvironment use(TracerFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(TracerFactory factory, Class<? extends EnvironmentType> envType); @CanIgnoreReturnValue ServerEnvironment use(TransportFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(TransportFactory factory, Class<? extends EnvironmentType> type); @Deprecated void configureStorageForTests(StorageFactory factory); @Deprecated void configureStorage(StorageFactory factory); Optional<TracerFactory> tracing(); StorageFactory storageFactory(); @Internal Optional<StorageFactory> optionalStorageFactory(); TransportFactory transportFactory(); @VisibleForTesting void reset(); @Override void close(); }
ServerEnvironment implements AutoCloseable { public DeploymentType deploymentType() { return deploymentDetector.get(); } private  ServerEnvironment(); static ServerEnvironment instance(); DeploymentType deploymentType(); @Deprecated synchronized void configureDelivery(Delivery delivery); synchronized Delivery delivery(); CommandScheduler newCommandScheduler(); void scheduleCommandsUsing(Supplier<CommandScheduler> commandScheduler); NodeId nodeId(); @VisibleForTesting void configureDeployment(Supplier<DeploymentType> supplier); @CanIgnoreReturnValue ServerEnvironment use(StorageFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(StorageFactory factory, Class<? extends EnvironmentType> type); @CanIgnoreReturnValue ServerEnvironment use(Delivery delivery, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(Delivery delivery, Class<? extends EnvironmentType> envType); @CanIgnoreReturnValue ServerEnvironment use(TracerFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(TracerFactory factory, Class<? extends EnvironmentType> envType); @CanIgnoreReturnValue ServerEnvironment use(TransportFactory factory, EnvironmentType envType); @CanIgnoreReturnValue ServerEnvironment use(TransportFactory factory, Class<? extends EnvironmentType> type); @Deprecated void configureStorageForTests(StorageFactory factory); @Deprecated void configureStorage(StorageFactory factory); Optional<TracerFactory> tracing(); StorageFactory storageFactory(); @Internal Optional<StorageFactory> optionalStorageFactory(); TransportFactory transportFactory(); @VisibleForTesting void reset(); @Override void close();  }