Interface JournalConsumer<Journal,T extends Throwable>
- Type Parameters:
Journal- the journal instance handleT- the checked exception or similar to be thrown; e.g. JJournalException.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
consumer interface for e.g. streaming.
interface needed so consumer functions can properly throw regular JJournalException,
and other exception classes
- Version:
- $Id: $Id
-
Method Summary
-
Method Details
-
accept
accept and process given input.
- Parameters:
journal- aJournalobject- Throws:
T- if any.
-