Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

Member Class Reference

#include <coherence/net/Member.hpp>

Inherits Object.

List of all members.


Detailed Description

The Member interface represents a cluster member.

Author:
jh 2007.12.20
 

Public Types

typedef spec::Handle Handle
 Member Handle definition.
typedef spec::View View
 Member View definition.
typedef spec::Holder Holder
 Member Holder definition.

Public Member Functions

virtual String::View getSiteName () const =0
 Determine the configured name for the Site (such as a data center) in which this Member resides.
virtual String::View getRackName () const =0
 Determine the configured name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides.
virtual String::View getMachineName () const =0
 Determine the configured name for the Machine (such as a host name) in which this Member resides.
virtual String::View getProcessName () const =0
 Determine the configured name for the Process (such as a JVM) in which this Member resides.
virtual String::View getMemberName () const =0
 Determine the configured name for the Member.
virtual String::View getRoleName () const =0
 Determine the configured role name for the Member.

Member Function Documentation

virtual String::View getSiteName (  )  const [pure virtual]

Determine the configured name for the Site (such as a data center) in which this Member resides.

This name is used for logging purposes and to differentiate among multiple geographic sites.

Returns:
the configured Site name or null

virtual String::View getRackName (  )  const [pure virtual]

Determine the configured name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides.

This name is used for logging purposes and to differentiate among multiple racks within a particular data center, for example.

Returns:
the configured Rack name or null

virtual String::View getMachineName (  )  const [pure virtual]

Determine the configured name for the Machine (such as a host name) in which this Member resides.

This name is used for logging purposes and to differentiate among multiple servers.

Returns:
the configured Machine name or null

virtual String::View getProcessName (  )  const [pure virtual]

Determine the configured name for the Process (such as a JVM) in which this Member resides.

This name is used for logging purposes and to differentiate among multiple processes on a a single machine.

Returns:
the configured Process name or null

virtual String::View getMemberName (  )  const [pure virtual]

Determine the configured name for the Member.

This name is used for logging purposes and to differentiate among Members running within a particular process.

Returns:
the configured Member name or null

virtual String::View getRoleName (  )  const [pure virtual]

Determine the configured role name for the Member.

This role is completely definable by the application, and can be used to determine what Members to use for specific purposes, such as to send particular types of work to.

Returns:
the configured role name for the Member or null


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.