1.50.39

interbase.interclient
Class ServerStatistics

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

public final class ServerStatistics
extends Object
implements Statistics

Statistics about database page reads and writes and other statistics for a server as a whole.

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

Method Summary
 int getDiskReads()
          Number of disk page reads since server started..
 int getDiskWrites()
          Number of disk page writes since server started.
 int getMemoryInUse()
          Get the server memory in use for all connections to this server.
 int getMemoryInUse(String database)
          Get the server memory in use for all connections to a specific database.
 int getMemoryReads()
          Number of memory reads from cache since server started..
 int getMemoryWrites()
          Number of memory writes to cache since server started..
 
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 server started..
Specified by:
getMemoryReads in interface Statistics
Throws:
SQLException - if a server 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 server started..
Specified by:
getMemoryWrites in interface Statistics
Throws:
SQLException - if a server access error occurs
Since:
Extension, proposed for future release, not yet supported

getDiskReads

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

getDiskWrites

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

getMemoryInUse

public int getMemoryInUse()
                   throws SQLException
Get the server memory in use for all connections to this server.
Returns:
the server memory in use.
Throws:
SQLException - if a server access error occurs
Since:
Extension, proposed for future release, not yet supported

getMemoryInUse

public int getMemoryInUse(String database)
                   throws SQLException
Get the server memory in use for all connections to a specific database.
Returns:
the server memory in use for a particular database.
Throws:
SQLException - if a server access error occurs
Since:
Extension, proposed for future release, not yet supported

1.50.39

Send comments or suggestions to icsupport@interbase.com