Search in sources :

Example 1 with H2StorageInstaller

use of org.apache.skywalking.apm.collector.storage.h2.base.define.H2StorageInstaller in project incubator-skywalking by apache.

the class StorageModuleH2Provider method start.

@Override
public void start(Properties config) throws ServiceNotProvidedException {
    try {
        h2Client.initialize();
        H2StorageInstaller installer = new H2StorageInstaller();
        installer.install(h2Client);
    } catch (H2ClientException | StorageException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : H2ClientException(org.apache.skywalking.apm.collector.client.h2.H2ClientException) StorageException(org.apache.skywalking.apm.collector.storage.StorageException) H2StorageInstaller(org.apache.skywalking.apm.collector.storage.h2.base.define.H2StorageInstaller)

Aggregations

H2ClientException (org.apache.skywalking.apm.collector.client.h2.H2ClientException)1 StorageException (org.apache.skywalking.apm.collector.storage.StorageException)1 H2StorageInstaller (org.apache.skywalking.apm.collector.storage.h2.base.define.H2StorageInstaller)1