|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.nominet.catnap.profile.CatnapOperationProfile
Data class representing a catnap operation profile
| Field Summary | |
static int |
CATNAP_CREATE_OPERATION
|
static int |
CATNAP_FINDER_OPERATION
|
static int |
CATNAP_REMOVER_OPERATION
|
static int |
CATNAP_UPDATE_OPERATION
|
| Constructor Summary | |
CatnapOperationProfile(EntityDef operationEntity,
java.lang.String finderName,
java.lang.Object[] args)
Constructor used for bespoke finders |
|
CatnapOperationProfile(int operationType,
EntityDef operationEntity,
java.lang.Object[] args)
Constructor used for default finders and all writers and removers. |
|
| Method Summary | |
void |
addSubOperationProfile(CatnapOperationProfile cop)
Add a nested operation profile to this profile |
long |
getPostInterceptorDuration()
Get the time spent executing the post interceptor if applicable |
long |
getPreInterceptorDuration()
Get the time spent executing the pre interceptor if applicable |
long |
getThisRDBMSMappingDuration()
Calculated method, which works out time spent on RDMBS and mapping for this objects pl/sql operation alone (deducting all sub calls made) and any time spent in interceptos. |
long |
getTotalOperationDuration()
Get the total operation duration |
void |
setPostInterceptorDuration(long postInterceptorDuration)
Set the time spent executing the post interceptor if applicable |
void |
setPreInterceptorDuration(long preInterceptorDuration)
Set the time spent executing the pre interceptor if applicable |
void |
setTotalOperationDuration(long totalOperationDuration)
Set the total operation duration |
void |
writeToStream(java.io.OutputStream outputStream,
int indentChars)
Write the profile to an arbitrary stream indenting by the number of chars supplied. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int CATNAP_FINDER_OPERATION
public static final int CATNAP_CREATE_OPERATION
public static final int CATNAP_UPDATE_OPERATION
public static final int CATNAP_REMOVER_OPERATION
| Constructor Detail |
public CatnapOperationProfile(int operationType,
EntityDef operationEntity,
java.lang.Object[] args)
operationType - operationEntity -
public CatnapOperationProfile(EntityDef operationEntity,
java.lang.String finderName,
java.lang.Object[] args)
operationEntity - finderName - | Method Detail |
public long getTotalOperationDuration()
public void setTotalOperationDuration(long totalOperationDuration)
totalOperationDuration - public long getPreInterceptorDuration()
public void setPreInterceptorDuration(long preInterceptorDuration)
preInterceptorDuration - public long getPostInterceptorDuration()
public void setPostInterceptorDuration(long postInterceptorDuration)
postInterceptorDuration - public long getThisRDBMSMappingDuration()
public void addSubOperationProfile(CatnapOperationProfile cop)
addSubOperationProfile in interface CatnapOperationProfileContainercop -
public void writeToStream(java.io.OutputStream outputStream,
int indentChars)
throws java.io.IOException
outputStream - indentChars -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||