| Modifier and Type | Field and Description |
|---|---|
| public static final String | CHANNEL
Used as string argument to |
| private final Connection | |
| private final Gson | |
| private static final Logger | |
| private static final int | |
| public static final String | METADATA_CHANNEL
Channel on which the database-side |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private FieldChange | |
| public void | |
| public void | |
| private void | |
| private FieldChange | withoutContent()
A payload without content makes receivers pull the changes from the database instead |
| CHANNEL | back to summary |
|---|---|
| public static final String CHANNEL Used as string argument to | |
| connection | back to summary |
|---|---|
| private final Connection connection | |
| gson | back to summary |
|---|---|
| private final Gson gson | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MAX_PAYLOAD_BYTES | back to summary |
|---|---|
| private static final int MAX_PAYLOAD_BYTES | |
| METADATA_CHANNEL | back to summary |
|---|---|
| public static final String METADATA_CHANNEL Channel on which the database-side | |
| processorId | back to summary |
|---|---|
| private final String processorId | |
| Notifier | back to summary |
|---|---|
| public Notifier(Connection connection, String processorId) | |
| createPayload | back to summary |
|---|---|
| private FieldChange createPayload(FieldChangedEvent event) | |
| notifyAboutChangedField | back to summary |
|---|---|
| public void notifyAboutChangedField(FieldChangedEvent event) | |
| notifyClientsToPull | back to summary |
|---|---|
| public void notifyClientsToPull() Asks all other clients to pull. Used when changes reached the database without a single field-change event describing them - e.g. flushed micro-edits, which are written as a whole entry. | |
| send | back to summary |
|---|---|
| private void send(FieldChange payload) | |
| withoutContent | back to summary |
|---|---|
| private FieldChange withoutContent() A payload without content makes receivers pull the changes from the database instead | |