/** Shut down the transformer plugin */ @Override public void shutdown() throws PluginException { // Shutdown the database if (stats != null) { try { stats.shutdown(); } catch (Exception ex) { log.error("Error shutting down database: ", ex); throw new PluginException(ex); } } }