gemfire_admin::Locator Class Reference


Detailed Description

Represents a single Distributed System Locator Represents a single distribution locator server. A Distributed System can be configured to use either multicast discovery or to use the locator service.

Author:
Jim Nist

Public Member Functions

virtual const char * getHostAddress ()=0
virtual const uint32_t getPort ()=0
 Gets the port this Locator.
virtual bool isRunning ()=0
 Returns whether or not this Application is running.
virtual void setHostAddress (const char *hostAddress)=0
 Sets the host address of this Locator as a string.
virtual void start (uint32_t timeout=600000)=0
 Starts this Application.
virtual void stop (uint32_t timeout=600000)=0
 Stops this Application.

Member Function Documentation

virtual const char* gemfire_admin::Locator::getHostAddress (  )  [pure virtual]

Methods Gets the host address of this member as a string.

virtual const uint32_t gemfire_admin::Locator::getPort (  )  [pure virtual]

Gets the port this Locator.

virtual bool gemfire_admin::Locator::isRunning (  )  [pure virtual]

Returns whether or not this Application is running.

virtual void gemfire_admin::Locator::setHostAddress ( const char *  hostAddress  )  [pure virtual]

Sets the host address of this Locator as a string.

allows the Admin API to direct membership requests and locate other system members.

Note that this function does NOT represent a mutable value of the remote Locater service.

Parameters:
hostAddress must be in IP address format
Returns:
true for successful setting, false for failure

virtual void gemfire_admin::Locator::start ( uint32_t  timeout = 600000  )  [pure virtual]

Starts this Application.

virtual void gemfire_admin::Locator::stop ( uint32_t  timeout = 600000  )  [pure virtual]

Stops this Application.


GemFire C++ Cache API Documentation