|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.net.DatagramTest.StartFlag
protected static class DatagramTest.StartFlag
The start flag is used to allow a listener to control a inner process publisher. This is used when the pulbisher is run in "polite" mode to cause it to only publish when the listener is receiving data.
Field Summary | |
---|---|
protected boolean |
m_fGo
|
Constructor Summary | |
---|---|
protected |
DatagramTest.StartFlag()
|
Method Summary | |
---|---|
void |
go()
Instruct any publisher waiting for the go flag that it may proceed. |
boolean |
isStopped()
Return true if the publisher should stop. |
void |
stop()
Instruct any publisher using this flag that it should stop. |
void |
waitForGo()
Wait for the go signal. |
Field Detail |
---|
protected volatile boolean m_fGo
Constructor Detail |
---|
protected DatagramTest.StartFlag()
Method Detail |
---|
public void go()
public void stop()
public boolean isStopped()
public void waitForGo() throws InterruptedException
InterruptedException
- if interrupted while waiting
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |