Interface Obj
- All Known Subinterfaces:
BaseCommitObj
- All Known Implementing Classes:
GenericObj
public interface Obj
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceObj.Builder<O extends Obj,B extends Obj.Builder<O, B>> static classstatic classThe Jackson view used whenObjs are serialized to be persisted. -
Method Summary
Modifier and TypeMethodDescriptiondefault longContains the timestamp in microseconds since (Unix) epoch when the object was last written, only intended for repository cleanup mechanisms.longid()default intnumParts()Indicates the number of parts of which the object is split in the backing database.type()withCreatedAtMicros(long createdAt) withNumParts(int numParts)
-
Method Details
-
type
ObjType type() -
id
long id() -
numParts
@Default default int numParts()Indicates the number of parts of which the object is split in the backing database. This value is available after the object has been written. -
createdAtMicros
@Default @Auxiliary default long createdAtMicros()Contains the timestamp in microseconds since (Unix) epoch when the object was last written, only intended for repository cleanup mechanisms.The value of this attribute is generated exclusively by the
Persistenceimplementations.This attribute is not consistent when using a caching
Persistence. -
versionToken
-
withCreatedAtMicros
-
withNumParts
-