Package com.db4o.internal.fileheader
Class TimerFileLockEnabled
- java.lang.Object
- 
- com.db4o.internal.fileheader.TimerFileLock
- 
- com.db4o.internal.fileheader.TimerFileLockEnabled
 
 
- 
- All Implemented Interfaces:
- java.lang.Runnable
 
 public class TimerFileLockEnabled extends TimerFileLock 
- 
- 
Constructor SummaryConstructors Constructor Description TimerFileLockEnabled(IoAdaptedObjectContainer file)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckHeaderLock()voidcheckIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime)voidcheckOpenTime()voidclose()booleanlockFile()longopenTime()voidrun()voidsetAddresses(int baseAddress, int openTimeOffset, int accessTimeOffset)voidstart()voidwriteHeaderLock()voidwriteOpenTime()- 
Methods inherited from class com.db4o.internal.fileheader.TimerFileLockforFile
 
- 
 
- 
- 
- 
Constructor Detail- 
TimerFileLockEnabledpublic TimerFileLockEnabled(IoAdaptedObjectContainer file) 
 
- 
 - 
Method Detail- 
checkHeaderLockpublic void checkHeaderLock() - Specified by:
- checkHeaderLockin class- TimerFileLock
 
 - 
checkOpenTimepublic void checkOpenTime() - Specified by:
- checkOpenTimein class- TimerFileLock
 
 - 
checkIfOtherSessionAlivepublic void checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime) throws Db4oIOException - Specified by:
- checkIfOtherSessionAlivein class- TimerFileLock
- Throws:
- Db4oIOException
 
 - 
closepublic void close() throws Db4oIOException- Specified by:
- closein class- TimerFileLock
- Throws:
- Db4oIOException
 
 - 
lockFilepublic boolean lockFile() - Specified by:
- lockFilein class- TimerFileLock
 
 - 
openTimepublic long openTime() - Specified by:
- openTimein class- TimerFileLock
 
 - 
runpublic void run() 
 - 
setAddressespublic void setAddresses(int baseAddress, int openTimeOffset, int accessTimeOffset)- Specified by:
- setAddressesin class- TimerFileLock
 
 - 
startpublic void start() throws Db4oIOException- Specified by:
- startin class- TimerFileLock
- Throws:
- Db4oIOException
 
 - 
writeHeaderLockpublic void writeHeaderLock() - Specified by:
- writeHeaderLockin class- TimerFileLock
 
 - 
writeOpenTimepublic void writeOpenTime() - Specified by:
- writeOpenTimein class- TimerFileLock
 
 
- 
 
-