|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.exam.container.def.internal.TestContainerSemaphore
public class TestContainerSemaphore
Simple file system lock. Will check for existing lock file in given folder (constructor) and report on acquire() On release it will remove the lock. Any failing acquire is "logged" into the lock file.
Constructor Summary | |
---|---|
TestContainerSemaphore(java.io.File workingFolder)
|
Method Summary | |
---|---|
boolean |
acquire()
|
java.io.File |
getLockFile()
|
void |
release()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestContainerSemaphore(java.io.File workingFolder)
Method Detail |
---|
public boolean acquire()
public void release()
public java.io.File getLockFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |