![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Represents options used to configure database properties through the service manager. More...
#include <DatabaseManager.h>
Public Member Functions | |
| const std::string & | getDatabase () const |
| Returns the database path to be configured. | |
| DatabasePropertiesOptions & | setDatabase (const std::string &value) |
| Sets the database path to be configured. | |
| const std::optional< ReplicaMode > & | getReplicaMode () const |
| Returns the replica mode. | |
| DatabasePropertiesOptions & | setReplicaMode (ReplicaMode value) |
| Sets the replica mode. | |
| const std::optional< ShutdownMode > & | getShutdownMode () const |
| Returns the shutdown mode. | |
| DatabasePropertiesOptions & | setShutdownMode (ShutdownMode value) |
| Sets the shutdown mode. | |
| const std::optional< ShutdownType > & | getShutdownType () const |
| Returns the shutdown type. | |
| DatabasePropertiesOptions & | setShutdownType (ShutdownType value) |
| Sets the shutdown type. | |
| const std::optional< int > & | getShutdownTimeout () const |
| Returns the shutdown timeout in seconds. | |
| DatabasePropertiesOptions & | setShutdownTimeout (int value) |
| Sets the shutdown timeout in seconds. | |
| const std::optional< bool > & | getOnline () const |
| Returns whether the database should be brought online. | |
| DatabasePropertiesOptions & | setOnline (bool value) |
| Sets whether the database should be brought online. | |
Represents options used to configure database properties through the service manager.
Definition at line 90 of file DatabaseManager.h.
|
inline |
Returns the database path to be configured.
Definition at line 96 of file DatabaseManager.h.
|
inline |
Returns whether the database should be brought online.
Definition at line 181 of file DatabaseManager.h.
|
inline |
Returns the replica mode.
Definition at line 113 of file DatabaseManager.h.
|
inline |
Returns the shutdown mode.
Definition at line 130 of file DatabaseManager.h.
|
inline |
Returns the shutdown timeout in seconds.
Definition at line 164 of file DatabaseManager.h.
|
inline |
Returns the shutdown type.
Definition at line 147 of file DatabaseManager.h.
|
inline |
Sets the database path to be configured.
Definition at line 104 of file DatabaseManager.h.
|
inline |
Sets whether the database should be brought online.
Definition at line 189 of file DatabaseManager.h.
|
inline |
Sets the replica mode.
Definition at line 121 of file DatabaseManager.h.
|
inline |
Sets the shutdown mode.
Definition at line 138 of file DatabaseManager.h.
|
inline |
Sets the shutdown timeout in seconds.
Definition at line 172 of file DatabaseManager.h.
|
inline |
Sets the shutdown type.
Definition at line 155 of file DatabaseManager.h.