Class LockableDatabase

java.lang.Object
io.bdeploy.bhive.objects.LockableDatabase
Direct Known Subclasses:
ManifestDatabase, ObjectDatabase

public abstract class LockableDatabase extends Object
Base class for a database which requires locked modifications for parallel-safety (JVM overarching).
  • Constructor Details

    • LockableDatabase

      protected LockableDatabase(Path root)
      Parameters:
      root - the root directory of the database. If the underlying filesystem does not support Path.toFile() (for instance ZIP file), there is no locking capability.
  • Method Details