public void setCurrentState(String name, int state) {
public void setCurrentState(String name, int state, long expiration) {
  public void setCurrentState(String name, int state) {    StatusEntry se = (StatusEntry)statusMap.get(name);    if (se != null) {      setCurrentState(name, state, (se.ttl > 0 ? se.ttl : DEFAULT_TTL));    } else {      logger.error("No status entry found for " + name);    }  }