1.50.39

interbase.interclient
Class ConnectionStatistics

java.lang.Object
  |
  +--interbase.interclient.ConnectionStatistics

public final class ConnectionStatistics
extends Object
implements Statistics

Statistics about database page and record reads and writes for a connection.

Since:
Extension, proposed for future release, not yet supported
See Also:
ServerStatistics, Connection.getStatistics()

Method Summary
 int getBackoutCount(String table)
          Number of removals of record versions from table for this connection.
 int getDeleteCount(String table)
          Number of database record deletes from table for this connection.
 int getDiskReads()
          Number of database page reads from disk since connection was attached.
 int getDiskWrites()
          Number of database page writes to disk since connection was attached.
 int getExpungeCount(String table)
          Number of removals of a record and all of its ancestors from table, for records whose deletions have been committed for this connection.
 int getIndexedReadCount(String table)
          Number of table reads done via an index for this connection.
 int getInsertCount(String table)
          Number of record inserts into table for this connection.
 int getMemoryReads()
          Number of memory reads from cache since connection was attached.
 int getMemoryWrites()
          Number of memory writes to cache since connection was attached.
 int getPurgeCount(String table)
          Number of removals of old versions of fully mature records from table (records committed, resulting in older ancestor versions no longer being needed).
 int getSequentialReadCount(String table)
          Number of sequential table reads, that is, the number of sequential row reads done for this connection.
 int getUpdateCount(String table)
          Number of table updates for this connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMemoryReads

public int getMemoryReads()
                   throws SQLException
Number of memory reads from cache since connection was attached.
Specified by:
getMemoryReads in interface Statistics
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getMemoryWrites

public int getMemoryWrites()
                    throws SQLException
Number of memory writes to cache since connection was attached.
Specified by:
getMemoryWrites in interface Statistics
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getDiskReads

public int getDiskReads()
                 throws SQLException
Number of database page reads from disk since connection was attached.
Specified by:
getDiskReads in interface Statistics
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getDiskWrites

public int getDiskWrites()
                  throws SQLException
Number of database page writes to disk since connection was attached.
Specified by:
getDiskWrites in interface Statistics
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getBackoutCount

public int getBackoutCount(String table)
                    throws SQLException
Number of removals of record versions from table for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getDeleteCount

public int getDeleteCount(String table)
                   throws SQLException
Number of database record deletes from table for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getExpungeCount

public int getExpungeCount(String table)
                    throws SQLException
Number of removals of a record and all of its ancestors from table, for records whose deletions have been committed for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getInsertCount

public int getInsertCount(String table)
                   throws SQLException
Number of record inserts into table for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getPurgeCount

public int getPurgeCount(String table)
                  throws SQLException
Number of removals of old versions of fully mature records from table (records committed, resulting in older ancestor versions no longer being needed).
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getIndexedReadCount

public int getIndexedReadCount(String table)
                        throws SQLException
Number of table reads done via an index for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getSequentialReadCount

public int getSequentialReadCount(String table)
                           throws SQLException
Number of sequential table reads, that is, the number of sequential row reads done for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

getUpdateCount

public int getUpdateCount(String table)
                   throws SQLException
Number of table updates for this connection.
Throws:
SQLException - if a database access error occurs
Since:
Extension, proposed for future release, not yet supported

1.50.39

Send comments or suggestions to icsupport@interbase.com