/**
* @return Generated {@link tachyon.thrift.ClientWorkerInfo} for this worker
*/
public synchronized ClientWorkerInfo generateClientWorkerInfo() {
ClientWorkerInfo ret = new ClientWorkerInfo();
ret.id = mId;
ret.address = mWorkerAddress;
ret.lastContactSec =
(int) ((CommonUtils.getCurrentMs() - mLastUpdatedTimeMs) / Constants.SECOND_MS);
ret.state = "In Service";