public class PgProtoMessageDecoder extends AbstractMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
PgProtoMessageDecoder() |
| Modifier and Type | Method and Description |
|---|---|
org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder |
optionsWithMetadata(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
Allows MessageDecoder to configure options with which the replication stream is started.
|
org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder |
optionsWithoutMetadata(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
Allows MessageDecoder to configure options with which the replication stream is started.
|
void |
processMessage(ByteBuffer buffer,
ReplicationStream.ReplicationMessageProcessor processor,
TypeRegistry typeRegistry)
Process a message upon arrival from logical decoder
|
shouldMessageBeSkippedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContainsMetadatapublic void processMessage(ByteBuffer buffer, ReplicationStream.ReplicationMessageProcessor processor, TypeRegistry typeRegistry) throws SQLException, InterruptedException
MessageDecoderbuffer - - binary representation of replication messageprocessor - - message processing on arrivaltypeRegistry - - registry with known typesSQLExceptionInterruptedExceptionpublic org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder optionsWithMetadata(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
MessageDecoderpublic org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder optionsWithoutMetadata(org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder builder)
MessageDecoderCopyright © 2019 JBoss by Red Hat. All rights reserved.