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