public String apply(CoordinatorStatus input) { return input.getCoordinatorId(); } };
@Override public boolean apply(@Nullable CoordinatorStatus coordinatorStatus) { return uuid.equals(coordinatorStatus.getCoordinatorId()); } }
public CoordinatorStatusRepresentation create(CoordinatorStatus status) { return new CoordinatorStatusRepresentation( status.getCoordinatorId(), safeTruncate(status.getCoordinatorId(), shortIdPrefixSize), status.getInstanceId(), status.getState(), status.getInternalUri(), status.getExternalUri(), status.getLocation(), trimLeadingSegments(status.getLocation(), '/', commonLocationParts), status.getInstanceType(), status.getVersion()); } }
instanceIds.add(coordinatorStatus.getCoordinatorId());