use of com.hazelcast.logging.ILogger in project hazelcast by hazelcast.
the class PartitionStateOperation method run.
@Override
public void run() {
Address callerAddress = getCallerAddress();
partitionState.setEndpoint(callerAddress);
InternalPartitionServiceImpl partitionService = getService();
success = partitionService.processPartitionRuntimeState(partitionState);
ILogger logger = getLogger();
if (logger.isFineEnabled()) {
String message = (success ? "Applied" : "Rejected") + " new partition state. Version: " + partitionState.getVersion() + ", caller: " + callerAddress;
logger.fine(message);
}
}
Aggregations