Class AbstractIdSource
java.lang.Object
org.tentackle.dbms.AbstractIdSource
- All Implemented Interfaces:
IdSource
- Direct Known Subclasses:
ObjectId, ObjectSequenceId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertDbNotRemote(Db db) Assert the correct Db.protected voidassertOneRowAffected(Db db, int rowCount) Asserts that exactly one row is affected by an update.getName()Gets the name.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IdSource
isLockFree, nextId
-
Constructor Details
-
AbstractIdSource
-
-
Method Details
-
getName
-
toString
-
assertDbNotRemote
-
assertOneRowAffected
Asserts that exactly one row is affected by an update.- Parameters:
db- the sessionrowCount- the number of rows affected
-