@Override
  public void close() {
    if (Objects.nonNull(trustListManager)) {
      try {
        trustListManager.close();
      } catch (final IOException e) {
        LOGGER.warn("Failed to close trustListManager, because {}.", e.getMessage());
      }
    }
  }
OPC UA Server builder for IoTDB to send data. The coding style referenced ExampleServer.java in
Eclipse Milo.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/opcua/OpcUaServerBuilder.java