public final class DatabaseConfiguration extends Object
Constructor and Description |
---|
DatabaseConfiguration() |
DatabaseConfiguration(DatabaseConfiguration config) |
Modifier and Type | Method and Description |
---|---|
String |
getDirectory()
Returns the path to the directory that contains the database.
|
DatabaseConfiguration |
setDirectory(String directory)
Set the path to the directory to store the database in.
|
public DatabaseConfiguration()
public DatabaseConfiguration(@NonNull DatabaseConfiguration config)
@NonNull public DatabaseConfiguration setDirectory(@NonNull String directory)
directory
- the directory@NonNull public String getDirectory()
setDirectory
below),
then it is the system default. If it has been set explicitly, then it also contains
the temporary directory that Couchbase uses as a scratch pad.