public class StatisticsRecord extends Object
Constructor and Description |
---|
StatisticsRecord()
Creates a statistics record.
|
StatisticsRecord(StatisticsRecord record)
Creates a clone of an existing statistics record.
|
Modifier and Type | Method and Description |
---|---|
void |
addQuery(String query)
Method to add a query to the current list of queries.
|
void |
addRecord(String record)
Adds a record on database tables accessed.
|
int |
decrement()
Decrements the nested depth of the transaction.
|
String |
getOperation()
Method to get the operation.
|
String[] |
getQueries()
Method to obtain the current list of queries.
|
String[] |
getTableRecords()
Returns the list of records on database tables accessed.
|
int |
increment()
Increments the nested depth of the transaction.
|
void |
setOperation(String operation)
Method to set the operation.
|
public StatisticsRecord()
public StatisticsRecord(StatisticsRecord record)
record
- the existing record.public int increment()
public int decrement()
public String[] getTableRecords()
public void addRecord(String record)
record
- a record on database tables accessed.public String[] getQueries()
public void addQuery(String query)
query
- the query.public String getOperation()
public void setOperation(String operation)
operation
- the registry operation's name.Copyright © 2016 WSO2 Inc. All Rights Reserved.