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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.ServerStat(String name, String value, String description) Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetColumnImpl(int i) getKey()getName()getTable()Gets theAoservTablethat contains thisAoservObject.getValue()voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidsetTable(AoservTable<String, ServerStat> table) voidwrite(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, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
ServerStat
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<String,ServerStat>
-
getDescription
-
getName
-
getKey
- Specified by:
getKeyin classAoservObject<String,ServerStat>
-
getTable
Description copied from interface:SingleTableObjectGets theAoservTablethat contains thisAoservObject.- Specified by:
getTablein interfaceSingleTableObject<String,ServerStat> - Returns:
- the
AoservTable.
-
getTableId
- Specified by:
getTableIdin classAoservObject<String,ServerStat>
-
getValue
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<String,ServerStat> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<String,ServerStat> - Throws:
IOException
-
setTable
- Specified by:
setTablein interfaceSingleTableObject<String,ServerStat>
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<String,ServerStat> - Throws:
IOException
-
