public void memberAttributeChanged(MemberAttributeServiceEvent event) {
}
private void onOwnerDisconnected(final String caller) {
InternalPartitionService partitionService = nodeEngine.getPartitionService();
OperationService operationService = nodeEngine.getOperationService();
Address thisAddress = nodeEngine.getThisAddress();
for (String name : permitMap.keySet()) {
int partitionId = partitionService.getPartitionId(getPartitionKey(name));
InternalPartition partition = partitionService.getPartition(partitionId);
if (thisAddress.equals(partition.getOwner())) {
Operation op = new SemaphoreDeadMemberOperation(name, caller)
.setPartitionId(partitionId)
.setResponseHandler(createEmptyResponseHandler())
.setService(this)
.setNodeEngine(nodeEngine)
.setServiceName(SERVICE_NAME);
operationService.executeOperation(op);
}
}
}