Class LazyObjectReference

  • All Implemented Interfaces:
    ObjectInfo

    public class LazyObjectReference
    extends java.lang.Object
    implements ObjectInfo
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getCommitTimestamp()
      The serial timestamp the object is assigned to when it is committed.

      You need to enable this feature before using it in FileConfiguration.generateCommitTimestamps(boolean).

      All the objects commited within the same transaction will receive the same commitTimestamp.

      db4o replication system (dRS) relies on this feature.
      long getInternalID()
      returns the internal db4o ID.
      java.lang.Object getObject()
      returns the object that is referenced.
      Db4oUUID getUUID()
      returns a UUID representation of the referenced object.
      long getVersion()
      returns the transaction serial number ("version") the referenced object was stored with last.
      ObjectReference reference()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LazyObjectReference

        public LazyObjectReference​(Transaction transaction,
                                   int id)