public interface ICommitter extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ICommitterRequest request) |
void |
clean()
Cleans any persisted information (e.g.
|
void |
close() |
void |
delete(DeleteRequest deleteRequest) |
void |
init(CommitterContext committerContext) |
void |
upsert(UpsertRequest upsertRequest) |
void init(CommitterContext committerContext) throws CommitterException
CommitterException
boolean accept(ICommitterRequest request) throws CommitterException
CommitterException
void upsert(UpsertRequest upsertRequest) throws CommitterException
CommitterException
void delete(DeleteRequest deleteRequest) throws CommitterException
CommitterException
void close() throws CommitterException
close
in interface AutoCloseable
CommitterException
void clean() throws CommitterException
CommitterException
- something went wrong cleaning the committer.Copyright © 2009–2022 Norconex Inc.. All rights reserved.