Class ServerStat
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<String,ServerStat>
com.aoindustries.aoserv.client.master.ServerStat
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<String,
ServerStat>
public final class ServerStat
extends AoservObject<String,ServerStat>
implements SingleTableObject<String,ServerStat>
To aid in system reliability, scalability, and debugging, many server
runtime statistics are maintained.
MasterServerStat
provides table-like access to this data.- Author:
- AO Industries, Inc.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorDescriptionDeprecated.Only required for implementation, do not use directly.ServerStat
(String name, String value, String description) Deprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getColumnImpl
(int i) getKey()
getName()
getTable()
Gets theAoservTable
that contains thisAoservObject
.getValue()
void
Initializes this object from the raw database contents.void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
setTable
(AoservTable<String, ServerStat> table) void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, equals, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, hashCode, read, toString, toStringImpl, write
-
Field Details
-
BYTE_ARRAY_CACHE_CREATES
- See Also:
-
BYTE_ARRAY_CACHE_USES
- See Also:
-
BYTE_ARRAY_CACHE_ZERO_FILLS
- See Also:
-
BYTE_ARRAY_CACHE_COLLECTED
- See Also:
-
CHAR_ARRAY_CACHE_CREATES
- See Also:
-
CHAR_ARRAY_CACHE_USES
- See Also:
-
CHAR_ARRAY_CACHE_ZERO_FILLS
- See Also:
-
CHAR_ARRAY_CACHE_COLLECTED
- See Also:
-
DAEMON_CONCURRENCY
- See Also:
-
DAEMON_CONNECTIONS
- See Also:
-
DAEMON_CONNECTS
- See Also:
-
DAEMON_COUNT
- See Also:
-
DAEMON_DOWN_COUNT
- See Also:
-
DAEMON_MAX_CONCURRENCY
- See Also:
-
DAEMON_POOL_SIZE
- See Also:
-
DAEMON_TOTAL_TIME
- See Also:
-
DAEMON_TRANSACTIONS
- See Also:
-
DB_CONCURRENCY
- See Also:
-
DB_CONNECTIONS
- See Also:
-
DB_CONNECTS
- See Also:
-
DB_MAX_CONCURRENCY
- See Also:
-
DB_POOL_SIZE
- See Also:
-
DB_TOTAL_TIME
- See Also:
-
DB_TRANSACTIONS
- See Also:
-
ENTROPY_AVAIL
- See Also:
-
ENTROPY_POOLSIZE
- See Also:
-
ENTROPY_READ_BYTES
- See Also:
-
ENTROPY_READ_COUNT
- See Also:
-
ENTROPY_WRITE_BYTES
- See Also:
-
ENTROPY_WRITE_COUNT
- See Also:
-
MEMORY_FREE
- See Also:
-
MEMORY_TOTAL
- See Also:
-
PROTOCOL_VERSION
- See Also:
-
REQUEST_CONCURRENCY
- See Also:
-
REQUEST_CONNECTIONS
- See Also:
-
REQUEST_MAX_CONCURRENCY
- See Also:
-
REQUEST_TOTAL_TIME
- See Also:
-
REQUEST_TRANSACTIONS
- See Also:
-
THREAD_COUNT
- See Also:
-
UPTIME
- See Also:
-
-
Constructor Details
-
ServerStat
Deprecated.Only required for implementation, do not use directly.- See Also:
-
ServerStat
Deprecated.Only required for implementation, do not use directly.
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<String,
ServerStat>
-
getDescription
-
getName
-
getKey
- Specified by:
getKey
in classAoservObject<String,
ServerStat>
-
getTable
Description copied from interface:SingleTableObject
Gets theAoservTable
that contains thisAoservObject
.- Specified by:
getTable
in interfaceSingleTableObject<String,
ServerStat> - Returns:
- the
AoservTable
.
-
getTableId
- Specified by:
getTableId
in classAoservObject<String,
ServerStat>
-
getValue
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<String,
ServerStat> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<String,
ServerStat> - Throws:
IOException
-
setTable
- Specified by:
setTable
in interfaceSingleTableObject<String,
ServerStat>
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<String,
ServerStat> - Throws:
IOException
-