Gemfire JavaDocs_test
Package org.apache.geode.distributed
Interface Role
-
- All Superinterfaces:
java.lang.Comparable<Role>
@Deprecated public interface Role extends java.lang.Comparable<Role>
Deprecated.this feature is scheduled to be removedMembers of the distributed system can fill one or more user defined roles. A role is metadata that describes how the member relates to other members or what purpose it fills. Roles are specified when connecting to theDistributedSystem
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getCount()
Deprecated.Returns the count of members currently filling this role.java.lang.String
getName()
Deprecated.Returns the name of this role.boolean
isPresent()
Deprecated.Returns true if this role is currently present in distributed system.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Deprecated.Returns the name of this role.- Returns:
- user-defined string name of this role
-
isPresent
boolean isPresent()
Deprecated.Returns true if this role is currently present in distributed system. If true, then at least one member in the system is configured with this role, regardless of whether or not that member has a cache.- Returns:
- true if this role is currently present in distributed system
-
getCount
int getCount()
Deprecated.Returns the count of members currently filling this role. These members may or may not have a cache.- Returns:
- number of members in system currently filling this role
-
-