|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectInfo
interface to the internal reference that an ObjectContainer holds for a stored object.
Method Summary | |
---|---|
long |
getCommitTimestamp()
The serial timestamp the object is assigned to when it is commited. 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()
Deprecated. As of version 8.0 please use getCommitTimestamp() instead. |
Method Detail |
---|
long getInternalID()
java.lang.Object getObject()
Db4oUUID getUUID()
com.db4o.config.Configuration#generateUUIDs(int)
@Deprecated long getVersion()
getCommitTimestamp()
instead.
com.db4o.config.Configuration#generateVersionNumbers(int)
getCommitTimestamp()
. The main
difference is that the old version mechamism used to assign a serial
timestamp to the object upon storing time, and the new commiTimestamp
approach, assigns it upon commit time.
long getCommitTimestamp()
FileConfiguration.generateCommitTimestamps(boolean)
.
FileConfiguration.generateCommitTimestamps(boolean)
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |