public class TransactionInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalParams |
protected String |
beginStack |
protected CompressedItem |
compressedBeginStack |
protected List<CompressedItem> |
compressedQueries |
protected String |
currentStackElement |
protected WeakReference<org.springframework.transaction.TransactionDefinition> |
definition |
protected WeakReference<javax.persistence.EntityManager> |
entityManager |
protected Boolean |
faultStateDetected |
protected Boolean |
isCompressed |
protected Long |
lastLogTime |
protected List<String> |
queries |
protected Long |
startTime |
protected Long |
stuckThreadStartTime |
protected WeakReference<Thread> |
thread |
protected String |
threadId |
protected String |
threadName |
| Constructor and Description |
|---|
TransactionInfo() |
TransactionInfo(javax.persistence.EntityManager em,
org.springframework.transaction.TransactionDefinition definition,
boolean isCompressed) |
protected WeakReference<javax.persistence.EntityManager> entityManager
protected WeakReference<org.springframework.transaction.TransactionDefinition> definition
protected String beginStack
protected CompressedItem compressedBeginStack
protected WeakReference<Thread> thread
protected String threadName
protected String threadId
protected Long startTime
protected List<CompressedItem> compressedQueries
protected String currentStackElement
protected Long lastLogTime
protected Long stuckThreadStartTime
protected Boolean faultStateDetected
protected Boolean isCompressed
public TransactionInfo()
public TransactionInfo(javax.persistence.EntityManager em,
org.springframework.transaction.TransactionDefinition definition,
boolean isCompressed)
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public org.springframework.transaction.TransactionDefinition getDefinition()
public void setDefinition(org.springframework.transaction.TransactionDefinition definition)
public String getBeginStack()
public void setBeginStack(String beginStack)
public CompressedItem getCompressedBeginStack()
public void setCompressedBeginStack(CompressedItem compressedBeginStack)
public Thread getThread()
public void setThread(Thread thread)
public String getThreadName()
public void setThreadName(String threadName)
public String getThreadId()
public void setThreadId(String threadId)
public String getCurrentStackElement()
public void setCurrentStackElement(String currentStackElement)
public Long getLastLogTime()
public void setLastLogTime(Long lastLogTime)
public Long getStuckThreadStartTime()
public void setStuckThreadStartTime(Long stuckThreadStartTime)
public Long getStartTime()
public void setStartTime(Long startTime)
public List<CompressedItem> getCompressedQueries()
public void setCompressedQueries(List<CompressedItem> compressedQueries)
public Boolean getFaultStateDetected()
public void setFaultStateDetected(Boolean faultStateDetected)
public void clear()
public void logStatement(String statement)
protected void initialize()
Copyright © 2017. All rights reserved.