@Entity public class WriteMessage extends AbstractMessage
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
COLUMN_DETAIL |
static java.lang.String |
COLUMN_RESULT |
COLUMN_TIME
构造器和说明 |
---|
WriteMessage() |
WriteMessage(java.lang.String template,
java.lang.String sql,
long sqlTime,
boolean result,
long consume) |
限定符和类型 | 方法和说明 |
---|---|
static WriteMessage |
build(java.lang.String template,
long sqlTime,
boolean result,
long consume) |
static WriteMessage |
build(java.lang.String template,
java.lang.String sqlContent,
boolean result,
long consume) |
WriteMessage |
detail(java.lang.String detail) |
java.lang.String |
getBrowser() |
long |
getConsume() |
java.lang.String |
getDetail() |
java.lang.String |
getDisplayName() |
java.lang.String |
getIp() |
java.lang.String |
getSql() |
long |
getSqlTime() |
java.lang.String |
getTemplate() |
java.lang.String |
getUsername() |
boolean |
isResult() |
void |
setBrowser(java.lang.String browser) |
void |
setConsume(long consume) |
void |
setDetail(java.lang.String detail) |
void |
setDisplayName(java.lang.String displayName) |
void |
setIp(java.lang.String ip) |
void |
setResult(boolean result) |
void |
setSql(java.lang.String sql) |
void |
setSqlTime(long sqlTime) |
void |
setTemplate(java.lang.String template) |
void |
setUsername(java.lang.String username) |
getTime, setTime
public static final java.lang.String COLUMN_RESULT
public static final java.lang.String COLUMN_DETAIL
public WriteMessage()
public WriteMessage(java.lang.String template, java.lang.String sql, long sqlTime, boolean result, long consume)
public static WriteMessage build(java.lang.String template, java.lang.String sqlContent, boolean result, long consume)
public static WriteMessage build(java.lang.String template, long sqlTime, boolean result, long consume)
public WriteMessage detail(java.lang.String detail)
public long getConsume()
public void setConsume(long consume)
public java.lang.String getIp()
public void setIp(java.lang.String ip)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getSql()
public void setSql(java.lang.String sql)
public long getSqlTime()
public void setSqlTime(long sqlTime)
public java.lang.String getBrowser()
public void setBrowser(java.lang.String browser)
public boolean isResult()
public void setResult(boolean result)
public java.lang.String getDetail()
public void setDetail(java.lang.String detail)