Record Class PdoCachePreloadContent<T extends PersistentDomainObject<T>>
java.lang.Object
java.lang.Record
org.tentackle.pdo.PdoCachePreloadContent<T>
- Type Parameters:
T- the PDO type- Record Components:
pdoClass- the PDO interfacepdoList- the cache contenttableInfo- the table information
@TripDeduplicatable("NEVER")
@TripReferencable("NEVER")
public record PdoCachePreloadContent<T extends PersistentDomainObject<T>>(Class<T extends PersistentDomainObject<T>> pdoClass, List<T extends PersistentDomainObject<T>> pdoList, PdoCachePreloadContent.TableInfo<T extends PersistentDomainObject<T>>[] tableInfo)
extends Record
DTO holding the cache content for a PDO-type.
Used when preloading a cache from a remote server.
Used when preloading a cache from a remote server.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordTable serial information. -
Constructor Summary
ConstructorsConstructorDescriptionPdoCachePreloadContent(Class<T> pdoClass, List<T> pdoList, PdoCachePreloadContent.TableInfo<T>[] tableInfo) Creates an instance of aPdoCachePreloadContentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pdoClass()Returns the value of thepdoClassrecord component.pdoList()Returns the value of thepdoListrecord component.Returns the value of thetableInforecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PdoCachePreloadContent
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
pdoClass
-
pdoList
-
tableInfo
-