Package com.couchbase.lite
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected com.couchbase.lite.internal.core.C4BlobStore
protected com.couchbase.lite.internal.core.C4Database
protected Object
protected String
protected com.couchbase.lite.internal.core.C4Database
protected boolean
isOpen()
protected boolean
protected void
setC4DatabaseLocked
(com.couchbase.lite.internal.core.C4Database c4Database)
-
Constructor Details
-
BaseDatabase
public BaseDatabase()
-
-
Method Details
-
getDbLock
-
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
- 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
-