GemFire 7.0.1

com.gemstone.gemfire.distributed
Interface DistributedMember

All Superinterfaces:
Comparable<DistributedMember>

public interface DistributedMember
extends Comparable<DistributedMember>

This is the fundamental representation of a member in a GemFire distributed system. A process becomes a member by calling DistributedSystem.connect(java.util.Properties).

Since:
5.0

Method Summary
 DurableClientAttributes getDurableClientAttributes()
          Returns the durable attributes for this client.
 List<String> getGroups()
          Returns the groups this member belongs to.
 String getHost()
          Returns the canonical name of the host machine for this member.
 String getId()
          Returns a unique identifier for this member.
 String getName()
          Returns this member's name.
 int getProcessId()
          Returns the process id for this member.
 Set<Role> getRoles()
          Returns the Roles that this member performs in the system.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Returns this member's name. The member name is set using the "name" gemfire property. Returns "" if the member does not have a name.

Since:
7.0

getHost

String getHost()
Returns the canonical name of the host machine for this member.


getRoles

Set<Role> getRoles()
Returns the Roles that this member performs in the system. Note that the result will contain both groups and roles.


getGroups

List<String> getGroups()
Returns the groups this member belongs to. A member defines the groups it is in using the "groups" gemfire property. Note that the deprecated "roles" gemfire property are also treated as groups so this result will contain both groups and roles.

Returns:
a list of groups that this member belongs to.

getProcessId

int getProcessId()
Returns the process id for this member. This may return zero if the platform or configuration does not allow native access to process info.


getId

String getId()
Returns a unique identifier for this member.


getDurableClientAttributes

DurableClientAttributes getDurableClientAttributes()
Returns the durable attributes for this client.


GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.