![]() |
A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <NodeInfo.h>
Inheritance diagram for pdb::NodeInfo:
Collaboration diagram for pdb::NodeInfo:Public Member Functions | |
| NodeInfo () | |
| ~NodeInfo () | |
| int | getCpuLoad () |
| void | setCpuLoad (int cpuLoad) |
| String & | getHostName () |
| void | setHostName (pdb::String &hostName) |
| int | getPort () |
| void | setPort (int port) |
Public Member Functions inherited from pdb::Object | |
| void | setVTablePtr (void *setToMe) |
| void * | getVTablePtr () |
| virtual void | setUpAndCopyFrom (void *target, void *source) const |
| virtual void | deleteObject (void *deleteMe) |
| virtual size_t | getSize (void *ofMe) |
Private Attributes | |
| String | hostName |
| int | port |
| int | cpuLoad |
Additional Inherited Members | |
Static Public Member Functions inherited from pdb::Object | |
| static void * | operator new (size_t sz, const std::nothrow_t &tag) |
| static void * | operator new (size_t sz) |
| static void | operator delete (void *me) |
| static void * | operator new (std::size_t count, void *ptr) |
This class encapsulates data about each node. This data is a dynamic data that represents the current node CPU load in addition to other static information like hostname or host IP address and port.
Definition at line 41 of file NodeInfo.h.
|
inline |
Definition at line 44 of file NodeInfo.h.
|
inline |
Definition at line 46 of file NodeInfo.h.
|
inline |
Definition at line 49 of file NodeInfo.h.
|
inline |
Definition at line 57 of file NodeInfo.h.
|
inline |
Definition at line 65 of file NodeInfo.h.
|
inline |
Definition at line 53 of file NodeInfo.h.
|
inline |
Definition at line 61 of file NodeInfo.h.
|
inline |
Definition at line 69 of file NodeInfo.h.
|
private |
Definition at line 82 of file NodeInfo.h.
|
private |
Definition at line 77 of file NodeInfo.h.
|
private |
Definition at line 79 of file NodeInfo.h.