![]() |
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 89 of file DatabaseManager.h.
|
inline |
Returns the database path to be configured.
Definition at line 95 of file DatabaseManager.h.
|
inline |
Returns whether the database should be brought online.
Definition at line 180 of file DatabaseManager.h.
|
inline |
Returns the replica mode.
Definition at line 112 of file DatabaseManager.h.
|
inline |
Returns the shutdown mode.
Definition at line 129 of file DatabaseManager.h.
|
inline |
Returns the shutdown timeout in seconds.
Definition at line 163 of file DatabaseManager.h.
|
inline |
Returns the shutdown type.
Definition at line 146 of file DatabaseManager.h.
|
inline |
Sets the database path to be configured.
Definition at line 103 of file DatabaseManager.h.
|
inline |
Sets whether the database should be brought online.
Definition at line 188 of file DatabaseManager.h.
|
inline |
Sets the replica mode.
Definition at line 120 of file DatabaseManager.h.
|
inline |
Sets the shutdown mode.
Definition at line 137 of file DatabaseManager.h.
|
inline |
Sets the shutdown timeout in seconds.
Definition at line 171 of file DatabaseManager.h.
|
inline |
Sets the shutdown type.
Definition at line 154 of file DatabaseManager.h.