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
ConstructorsModifierConstructorDescriptionprotectedDeprecated, 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 theAoservTablethat contains thisAoservObject.abstract voidfinal voidsetTable(AoservTable<K, T> table) abstract voidMethods 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:SingleTableObjectGets theAoservTablethat contains thisAoservObject.- Specified by:
getTablein interfaceSingleTableObject<K,T extends FilesystemCachedObject<K, T>> - Returns:
- the
AoservTable.
-
setTable
- Specified by:
setTablein interfaceSingleTableObject<K,T extends FilesystemCachedObject<K, T>>
-
writeRecord
- Specified by:
writeRecordin interfaceFileListObject- Throws:
IOException
-
readRecord
- Specified by:
readRecordin interfaceFileListObject- Throws:
IOException
-
