Class LocalMember
Simple IMember implementation used as "local" member for RemoteService instances started by IConfigurableCacheFactory.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class LocalMember : IMember, IPortableObject
Properties
ClusterName
The name of the cluster with which this member is associated.
Declaration
public virtual string ClusterName { get; set; }
Property Value
Type | Description |
---|---|
string |
MachineName
Determine the configured name for the machine (such as a host name) in which this IMember resides.
Declaration
public virtual string MachineName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured machine name or |
Remarks
This name is used for logging purposes and to differentiate among multiple servers, and may be used as the basis for determining the MachineId property.
MemberName
Determine the configured name for the IMember.
Declaration
public virtual string MemberName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured IMember name or |
Remarks
This name is used for logging purposes and to differentiate among members running within a particular process.
ProcessName
Determine the configured name for the process in which this IMember resides.
Declaration
public virtual string ProcessName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured process name or |
Remarks
This name is used for logging purposes and to differentiate among multiple processes on a a single machine.
RackName
Determine the configured name for the rack (such as a physical rack, cage or blade frame) in which this IMember resides.
Declaration
public virtual string RackName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured rack name or |
Remarks
This name is used for logging purposes and to differentiate among multiple racks within a particular data center, for example.
RoleName
Determine the configured role name for the IMember.
Declaration
public virtual string RoleName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured role name for the IMember or |
Remarks
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.
SiteName
Determine the configured name for the site (such as a data center) in which this IMember resides.
Declaration
public virtual string SiteName { get; set; }
Property Value
Type | Description |
---|---|
string | The configured site name or |
Remarks
This name is used for logging purposes and to differentiate among multiple geographic sites.
Methods
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public virtual void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
ToString()
Returns a string representation of this IMember object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this IMember object. |
Overrides
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public virtual void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |