public interface IERXMigrationLock
Modifier and Type | Method and Description |
---|---|
void |
setVersionNumber(EOAdaptorChannel channel,
EOModel model,
int versionNumber)
Sets the current version number of the named model.
|
boolean |
tryLock(EOAdaptorChannel channel,
EOModel model,
String lockOwnerName)
Attempts to retrieve a lock on the migration process for the named model.
|
void |
unlock(EOAdaptorChannel channel,
EOModel model)
Unlocks the given model.
|
int |
versionNumber(EOAdaptorChannel channel,
EOModel model)
Returns the current version number of the named model.
|
int versionNumber(EOAdaptorChannel channel, EOModel model)
channel
- the adaptor channel associated with this processmodel
- the model to lookup version information onvoid setVersionNumber(EOAdaptorChannel channel, EOModel model, int versionNumber)
channel
- the adaptor channel associated with this processmodel
- the model to set version information onversionNumber
- the new version numberboolean tryLock(EOAdaptorChannel channel, EOModel model, String lockOwnerName)
channel
- the adaptor channel associated with this processmodel
- the model to try to locklockOwnerName
- the name of the lock ownervoid unlock(EOAdaptorChannel channel, EOModel model)
channel
- the adaptor channel associated with this processmodel
- the model to unlockCopyright © 2002 – 2024 Project Wonder.