All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.orientechnologies.orient.core.storage.disk.OPeriodicFuzzyCheckpoint Maven / Gradle / Ivy

There is a newer version: 3.2.32
Show newest version
package com.orientechnologies.orient.core.storage.disk;

import com.orientechnologies.common.log.OLogManager;

public class OPeriodicFuzzyCheckpoint implements Runnable {
  /** */
  private final OLocalPaginatedStorage storage;

  /** @param storage */
  public OPeriodicFuzzyCheckpoint(OLocalPaginatedStorage storage) {
    this.storage = storage;
  }

  @Override
  public final void run() {
    try {
      storage.makeFuzzyCheckpoint();
    } catch (final RuntimeException e) {
      OLogManager.instance().error(this, "Error during fuzzy checkpoint", e);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy