|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.spi.persistence.utility.NullSemaphore
public class NullSemaphore
Implements a simple semaphore that does not do any semaphore-ing. That is, the methods just immediately return.
| Constructor Summary | |
|---|---|
NullSemaphore(java.lang.String owner)
|
|
| Method Summary | |
|---|---|
void |
acquire()
Does nothing. |
void |
release()
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullSemaphore(java.lang.String owner)
| Method Detail |
|---|
public void acquire()
acquire in interface Semaphorepublic void release()
release in interface Semaphore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||