|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordConsumer
Listener interface on a journal that gets called back for records that should be consumed.
| Method Summary | |
|---|---|
void |
consume(Record record)
Consume a record. |
String |
getId()
Return the unique identifier of the records this consumer will be able to handle. |
long |
getRevision()
Return the revision this consumer has last seen. |
void |
setRevision(long revision)
Set the revision this consumer has last seen. |
| Method Detail |
|---|
String getId()
long getRevision()
void consume(Record record)
record - record to consumevoid setRevision(long revision)
revision - revision
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||