|
Apache Geode Native .NET Reference 1.15.0
|
DistributedSystem encapsulates this applications "connection" into the Geode Java servers. More...
#include <DistributedSystem.hpp>
Public Member Functions | |
| DistributedSystem ^ | Connect (String^ name, Cache^ cache) |
| Initializes the Native Client system to be able to connect to the Geode Java servers. More... | |
| void | Disconnect (Cache^ cache) |
| Disconnect from the distributed system. More... | |
Static Public Member Functions | |
| static DistributedSystem ^ | Connect (String^ name, Properties< String^, String^>^ config, Cache^ cache) |
| Initializes the Native Client system to be able to connect to the Geode Java servers. More... | |
Properties | |
| String^ | Name [get] |
| Get the name that identifies this DistributedSystem instance. More... | |
| Apache::Geode::Client::SystemProperties^ | SystemProperties [get] |
Returns the SystemProperties used to create this instance of a DistributedSystem. More... | |
DistributedSystem encapsulates this applications "connection" into the Geode Java servers.
In order to participate as a client in the Geode Java servers distributed system, each application needs to connect to the DistributedSystem.
| DistributedSystem ^ Apache::Geode::Client::DistributedSystem::Connect | ( | String^ | name, |
| Cache^ | cache | ||
| ) |
Initializes the Native Client system to be able to connect to the Geode Java servers.
| name | the name of the system to connect to |
| IllegalArgumentException | if name is null |
| NoSystemException | if the connecting target is not running |
| AlreadyConnectedException | if trying a second connect. An application can have one only one connection to a DistributedSystem. |
| UnknownException | otherwise |
|
static |
Initializes the Native Client system to be able to connect to the Geode Java servers.
| name | the name of the system to connect to |
| config | the set of properties |
| IllegalArgumentException | if name is null |
| NoSystemException | if the connecting target is not running |
| AlreadyConnectedException | if trying a second connect. An application can have one only one connection to a DistributedSystem. |
| UnknownException | otherwise |
| void Apache::Geode::Client::DistributedSystem::Disconnect | ( | Cache^ | cache | ) |
Disconnect from the distributed system.
| IllegalStateException | if not connected |
|
get |
Get the name that identifies this DistributedSystem instance.
|
get |
Returns the SystemProperties used to create this instance of a DistributedSystem.