Package com.aoindustries.aoserv.client
Class FilesystemCachedObject<K,T extends FilesystemCachedObject<K,T>>
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<K,T>
com.aoindustries.aoserv.client.FilesystemCachedObject<K,T>
- All Implemented Interfaces:
FileListObject
,Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<K,
T>
- Direct Known Subclasses:
DistroFile
public abstract class FilesystemCachedObject<K,T extends FilesystemCachedObject<K,T>>
extends AoservObject<K,T>
implements SingleTableObject<K,T>, FileListObject
A
FilesystemCachedObject
is stored in
a temporary file on disk for local-speed performance while using
minimal heap space.- Author:
- AO Industries, Inc.
-
Field Summary
FieldsFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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 TypeMethodDescriptionfinal AoservTable
<K, T> getTable()
Gets theAoservTable
that contains thisAoservObject
.abstract void
final void
setTable
(AoservTable<K, T> table) abstract void
Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, equals, getAccountingCode, getColumn, getColumnImpl, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getKey, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, hashCode, init, read, read, toString, toStringImpl, write, write
-
Field Details
-
table
-
-
Constructor Details
-
FilesystemCachedObject
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getTable
Description copied from interface:SingleTableObject
Gets theAoservTable
that contains thisAoservObject
.- Specified by:
getTable
in interfaceSingleTableObject<K,
T extends FilesystemCachedObject<K, T>> - Returns:
- the
AoservTable
.
-
setTable
- Specified by:
setTable
in interfaceSingleTableObject<K,
T extends FilesystemCachedObject<K, T>>
-
writeRecord
- Specified by:
writeRecord
in interfaceFileListObject
- Throws:
IOException
-
readRecord
- Specified by:
readRecord
in interfaceFileListObject
- Throws:
IOException
-