|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemStream
Marker interface defining a contract for periodically storing state and restoring from that state should an error occur.
Method Summary | |
---|---|
void |
close()
If any resources are needed for the stream to operate they need to be destroyed here. |
void |
open(ExecutionContext executionContext)
Open the stream for the provided ExecutionContext . |
void |
update(ExecutionContext executionContext)
Indicates that the execution context provided during open is about to be saved. |
Method Detail |
---|
void open(ExecutionContext executionContext) throws ItemStreamException
ExecutionContext
.
IllegalArgumentException
- if context is null
ItemStreamException
void update(ExecutionContext executionContext) throws ItemStreamException
executionContext
- to be updated
IllegalArgumentException
- if executionContext is null.
ItemStreamException
void close() throws ItemStreamException
ItemStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |