[#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Fixed some warnings
This commit is contained in:
parent
f19c6630fe
commit
cd0aac47e9
@ -43,7 +43,12 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class ResultSetLoggingData implements Serializable {
|
||||
|
||||
private static volatile int nextID;
|
||||
/**
|
||||
* Generated UID
|
||||
*/
|
||||
private static final long serialVersionUID = 6968225986331050805L;
|
||||
|
||||
private static volatile int nextID;
|
||||
|
||||
private int id;
|
||||
private long lifeTime;
|
||||
|
||||
@ -1197,6 +1197,16 @@ abstract class UsageTrackingResultSet extends JDBC41ResultSet implements ResultS
|
||||
notifyData(disposeTime - creationTime, readRows, readCount, writeCount);
|
||||
}
|
||||
|
||||
/**
|
||||
* Subclasses may override this method to be notified of data
|
||||
*
|
||||
* @param lifeTime The time between <code>ResultSet</code> creation and its
|
||||
* closing.
|
||||
* @param readRows The rows read
|
||||
* @param readCount The read operations performed
|
||||
* @param writeCount The write operations performed
|
||||
*/
|
||||
@SuppressWarnings("hiding")
|
||||
protected abstract void notifyData(long lifeTime, int readRows, int readCount, int writeCount);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user