示例#1
0
 /**
  * Set the time to wait before stopping execution of this message
  *
  * @param timeout the timeout in ms, or -1 indicating no timeout
  */
 public void setExecutionTimeout(int timeout) {
   _record.setIntField(Attributes.TIMEOUT.toString(), timeout);
 }
示例#2
0
 /**
  * Get the time to wait before stopping execution of this message
  *
  * @return the timeout in ms, or -1 indicating no timeout
  */
 public int getExecutionTimeout() {
   return _record.getIntField(Attributes.TIMEOUT.toString(), -1);
 }