Package com.db4o.internal.fileheader
Class TimerFileLockDisabled
- java.lang.Object
-
- com.db4o.internal.fileheader.TimerFileLock
-
- com.db4o.internal.fileheader.TimerFileLockDisabled
-
- All Implemented Interfaces:
java.lang.Runnable
public class TimerFileLockDisabled extends TimerFileLock
-
-
Constructor Summary
Constructors Constructor Description TimerFileLockDisabled()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkHeaderLock()
void
checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime)
void
checkOpenTime()
void
close()
boolean
lockFile()
long
openTime()
void
run()
void
setAddresses(int baseAddress, int openTimeOffset, int accessTimeOffset)
void
start()
void
writeHeaderLock()
void
writeOpenTime()
-
Methods inherited from class com.db4o.internal.fileheader.TimerFileLock
forFile
-
-
-
-
Method Detail
-
checkHeaderLock
public void checkHeaderLock()
- Specified by:
checkHeaderLock
in classTimerFileLock
-
checkOpenTime
public void checkOpenTime()
- Specified by:
checkOpenTime
in classTimerFileLock
-
close
public void close()
- Specified by:
close
in classTimerFileLock
-
lockFile
public boolean lockFile()
- Specified by:
lockFile
in classTimerFileLock
-
openTime
public long openTime()
- Specified by:
openTime
in classTimerFileLock
-
run
public void run()
-
setAddresses
public void setAddresses(int baseAddress, int openTimeOffset, int accessTimeOffset)
- Specified by:
setAddresses
in classTimerFileLock
-
start
public void start()
- Specified by:
start
in classTimerFileLock
-
writeHeaderLock
public void writeHeaderLock()
- Specified by:
writeHeaderLock
in classTimerFileLock
-
writeOpenTime
public void writeOpenTime()
- Specified by:
writeOpenTime
in classTimerFileLock
-
checkIfOtherSessionAlive
public void checkIfOtherSessionAlive(LocalObjectContainer container, int address, int offset, long lastAccessTime) throws Db4oIOException
- Specified by:
checkIfOtherSessionAlive
in classTimerFileLock
- Throws:
Db4oIOException
-
-