|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lti.utils.synchronization.SynchronizedObjectHolder<T>
public class SynchronizedObjectHolder<T>
Constructor Summary | |
---|---|
SynchronizedObjectHolder()
|
|
SynchronizedObjectHolder(T value)
|
Method Summary | |
---|---|
T |
getObject()
|
void |
setObject(T value)
|
void |
waitUntilNotNull()
|
boolean |
waitUntilNotNull(int timeout)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynchronizedObjectHolder()
public SynchronizedObjectHolder(T value)
Method Detail |
---|
public void setObject(T value)
public T getObject()
public void waitUntilNotNull() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean waitUntilNotNull(int timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |