if (supervisor == null) {
result = new RequestPartitionResult(NO_SUPERVISOR, -1);
return;
}
MemberAssigningJobProcessInformationImpl processInformation = getProcessInformation(supervisor);
int memberId = processInformation.assignMemberId(getCallerAddress(), getCallerUuid(), supervisor.getConfiguration());
if (memberId == -1) {
result = new RequestPartitionResult(NO_MORE_PARTITIONS, -1);
return;
}