Class BaseDatabase

java.lang.Object
com.couchbase.lite.BaseDatabase
Direct Known Subclasses:
Database

@Internal("This class is not part of the public API") public abstract class BaseDatabase extends Object
  • Constructor Details

    • BaseDatabase

      public BaseDatabase()
  • Method Details

    • getDbLock

      @NonNull protected Object getDbLock()
    • getDbPath

      @Nullable protected String getDbPath()
    • getBlobStore

      @NonNull protected com.couchbase.lite.internal.core.C4BlobStore getBlobStore() throws LiteCoreException
      Throws:
      LiteCoreException
    • isOpen

      protected boolean isOpen()
    • isOpenLocked

      protected boolean isOpenLocked()
    • assertOpenUnchecked

      protected void assertOpenUnchecked()
    • assertOpenChecked

      protected void assertOpenChecked() throws CouchbaseLiteException
      Throws:
      CouchbaseLiteException
    • setC4DatabaseLocked

      protected void setC4DatabaseLocked(@Nullable com.couchbase.lite.internal.core.C4Database c4Database)
    • getOpenC4DbLocked

      @NonNull protected com.couchbase.lite.internal.core.C4Database getOpenC4DbLocked()
    • getC4DbOrThrowLocked

      @NonNull protected com.couchbase.lite.internal.core.C4Database getC4DbOrThrowLocked() throws CouchbaseLiteException
      Throws:
      CouchbaseLiteException