class FeederManager.Lease
extends java.util.TimerTask
Constructor and Description |
---|
FeederManager.Lease(int id,
long duration,
DbBackup dbbackup) |
Modifier and Type | Method and Description |
---|---|
DbBackup |
getOpenDbBackup() |
void |
run() |
DbBackup |
terminate()
Fetches the leased DbBackup instance and terminates the lease.
|
public FeederManager.Lease(int id, long duration, DbBackup dbbackup)
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public DbBackup terminate()
public DbBackup getOpenDbBackup()
Copyright (c) 2004-2012 Oracle. All rights reserved.