|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.statistics.query.StatisticsRecord
public class StatisticsRecord
Defines a statistics record for a set of database queries for a given operation.
Constructor Summary | |
---|---|
StatisticsRecord()
Creates a statistics record. |
|
StatisticsRecord(StatisticsRecord record)
Creates a clone of an existing statistics record. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticsRecord()
public StatisticsRecord(StatisticsRecord record)
record
- the existing record.Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |