/** * get the workerID (nullable) from CURRENT container, if existed, or return null. * @return workerID */ public String getWorkerId() { String workerId = null; Container c = dynamicState.container; if (c != null) { workerId = c.getWorkerId(); } return workerId; }
public String getWorkerId() { String workerId = null; Container c = dynamicState.container; if (c != null) { workerId = c.getWorkerId(); } return workerId; }