Class SkipMessage (0.27.1)

public class SkipMessage extends ControlMessage

SkipMessage is a pseudo wire-protocol message that is used to read and skip messages that we receive that we do not want at that time. This applies to COPY messages during normal operation, and sync/flush messages during COPY operation.

Inheritance

java.lang.Object > WireMessage > ControlMessage > SkipMessage

Static Methods

createForInvalidStream(ConnectionHandler connectionHandler)

public static SkipMessage createForInvalidStream(ConnectionHandler connectionHandler)
Parameter
NameDescription
connectionHandlerConnectionHandler
Returns
TypeDescription
SkipMessage
Exceptions
TypeDescription
IOException

createForValidStream(ConnectionHandler connectionHandler)

public static SkipMessage createForValidStream(ConnectionHandler connectionHandler)
Parameter
NameDescription
connectionHandlerConnectionHandler
Returns
TypeDescription
SkipMessage
Exceptions
TypeDescription
IOException

Methods

getIdentifier()

public String getIdentifier()

Used for logging.

Returns
TypeDescription
String
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

sendPayload()

protected void sendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

Overrides
Exceptions
TypeDescription
Exception