class KubernetesWorkerNode implements ResourceIDRetrievable {

	public long getAttempt() throws ResourceManagerException {
		Matcher matcher = TASK_MANAGER_POD_PATTERN.matcher(resourceID.toString());
		if (matcher.find()) {
			return Long.parseLong(matcher.group(1));
		} else {
			throw new ResourceManagerException("Error to parse KubernetesWorkerNode from " + resourceID + ".");
		}
	}

	  KubernetesWorkerNode(ResourceID resourceID);

}