public class PgProtoMessageDecoder extends AbstractMessageDecoder
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private static Set<PgProto.Op> |
SUPPORTED_OPS |
private boolean |
warnedOnUnkownOp |
| Constructor and Description |
|---|
PgProtoMessageDecoder(MessageDecoderConfig config) |
| 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 |
processNotEmptyMessage(ByteBuffer buffer,
ReplicationStream.ReplicationMessageProcessor processor,
TypeRegistry typeRegistry) |
processMessage, shouldMessageBeSkippedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContainsMetadataprivate static final org.slf4j.Logger LOGGER
private static final Set<PgProto.Op> SUPPORTED_OPS
private boolean warnedOnUnkownOp
public PgProtoMessageDecoder(MessageDecoderConfig config)
public void processNotEmptyMessage(ByteBuffer buffer, ReplicationStream.ReplicationMessageProcessor processor, TypeRegistry typeRegistry) throws SQLException, InterruptedException
processNotEmptyMessage in class AbstractMessageDecoderSQLExceptionInterruptedExceptionpublic 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 © 2021 JBoss by Red Hat. All rights reserved.