|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Receiver
Field Summary | |
---|---|
static int |
DEF_INPUT_SIZE
|
Method Summary | |
---|---|
void |
clearInput()
Clears input of the receiver. |
int |
getInputSize()
Returns the amount of messages this Receiver can hold before start to "forget stale messages". |
void |
releaseReceivers()
Notifies receivers (threads waiting on receive() methods) they should stop waiting and return null. |
void |
setInputSize(int inputSize)
Sets the amount of messages this Receiver can hold before start to "forget stale messages". |
Field Detail |
---|
static final int DEF_INPUT_SIZE
Method Detail |
---|
void clearInput()
int getInputSize()
void setInputSize(int inputSize)
inputSize
- maximum count of messages stored in receivervoid releaseReceivers()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |