compute
v1
|
#include <connection_draining.h>
Public Member Functions | |
ConnectionDraining (const Json::Value &storage) | |
ConnectionDraining (Json::Value *storage) | |
virtual | ~ConnectionDraining () |
const StringPiece | GetTypeName () const |
bool | has_draining_timeout_sec () const |
void | clear_draining_timeout_sec () |
int32 | get_draining_timeout_sec () const |
void | set_draining_timeout_sec (int32 value) |
Static Public Member Functions | |
static ConnectionDraining * | New () |
Message containing connection draining configuration.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'drainingTimeoutSec
' attribute.
|
inline |
Get the value of the 'drainingTimeoutSec
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'drainingTimeoutSec
' attribute was set.
drainingTimeoutSec
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'drainingTimeoutSec
' attribute.
Time for which instance will be drained (not accept new connections, but still work to finish started).
[in] | value | The new value. |