Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wlrt.ede
Interface Stream

public interface Stream
extends Stage

Streams are virtual pipes that continously handle events.

Method Summary
`int` | `getSize()` Returns maximum size of stream
`void` | `setSize(int size)` Maximum number of events that a stream can hold at a time.

Methods inherited from interface com.bea.wlrt.ede.Stage
`destroy, getId`

Methods inherited from interface com.bea.wlrt.ede.EventSource
`addEventSink, getEventSinks, removeEventSink`

Methods inherited from interface com.bea.wlrt.ede.EventSink
`onEvent`

Methods inherited from interface java.lang.Iterable
`iterator`

Method Detail

### setSize

    public void setSize(int size)
                 throws PropertyVetoException

  Maximum number of events that a stream can hold at a time.

  Parameters:
    `maximum` - size
  Throws:
    PropertyVetoException - if size is not valid

### getSize

    public int getSize()

  Returns maximum size of stream

  Returns:
    maximum size

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD