|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.migration.ERXMemoryMigrationLock
public class ERXMemoryMigrationLock
This stub exists to make memory migrations work.
| Constructor Summary | |
|---|---|
ERXMemoryMigrationLock()
|
|
| Method Summary | |
|---|---|
protected int |
initialVersionForModel(com.webobjects.eoaccess.EOModel model)
|
void |
setVersionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
int versionNumber)
Sets the current version number of the named model. |
boolean |
tryLock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
java.lang.String lockOwnerName)
Attempts to retrieve a lock on the migration process for the named model. |
void |
unlock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
Unlocks the given model. |
int |
versionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
Returns the current version number of the named model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXMemoryMigrationLock()
| Method Detail |
|---|
public void setVersionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
int versionNumber)
IERXMigrationLock
setVersionNumber in interface IERXMigrationLockchannel - the adaptor channel associated with this processmodel - the model to set version information onversionNumber - the new version number
public boolean tryLock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model,
java.lang.String lockOwnerName)
IERXMigrationLock
tryLock in interface IERXMigrationLockchannel - the adaptor channel associated with this processmodel - the model to try to locklockOwnerName - the name of the lock owner
public void unlock(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
IERXMigrationLock
unlock in interface IERXMigrationLockchannel - the adaptor channel associated with this processmodel - the model to unlock
public int versionNumber(com.webobjects.eoaccess.EOAdaptorChannel channel,
com.webobjects.eoaccess.EOModel model)
IERXMigrationLock
versionNumber in interface IERXMigrationLockchannel - the adaptor channel associated with this processmodel - the model to lookup version information on
protected int initialVersionForModel(com.webobjects.eoaccess.EOModel model)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||