◆ migrate()
static void org.turro.related.RelatedMigration.migrate |
( |
| ) |
|
|
static |
Definition at line 39 of file RelatedMigration.java.
40 RelatedMigration migration =
new RelatedMigration(Dao.getDaoByPU(
"contactsPU"));
41 if(migration.isNecessary())
new Thread(migration,
"ElephantRelated migration").start();
◆ run()
void org.turro.related.RelatedMigration.run |
( |
| ) |
|
Definition at line 68 of file RelatedMigration.java.
69 if(!LOCK.isLocked()) {
71 if(LOCK.tryLock(0, TimeUnit.SECONDS)) {
80 }
catch (InterruptedException ex) {
81 Logger.getLogger(RelatedMigration.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
The documentation for this class was generated from the following file: