Implementations of this interface select members that are capable of executing a special kind of task.
The select(Member) method is called for every available member in the cluster and it is up to the implementation to decide if the member is going to be used or not.
For example, a basic implementation could select members on the existence of a special attribute in the members, like the following example:
public class MyMemberSelector implements MemberSelector {
public boolean select(Member member) {
std::string *attribute = member.getAttribute("my.special.executor")
return attribute !=NULL && *attribute" == my.special.executor";
}
}