コード例 #1
0
ファイル: Message.java プロジェクト: kenwudi/helix-1
 /**
  * Set the name of the source instance
  *
  * @param msgSrc instance name
  */
 public void setSrcName(String msgSrc) {
   _record.setSimpleField(Attributes.SRC_NAME.toString(), msgSrc);
 }
コード例 #2
0
ファイル: Message.java プロジェクト: kenwudi/helix-1
 /**
  * Get the instance from which the message originated
  *
  * @return the instance name
  */
 public String getMsgSrc() {
   return _record.getSimpleField(Attributes.SRC_NAME.toString());
 }