Class FlushMessage (0.18.2)

public class FlushMessage extends ControlMessage

Handles a flush command from the user. This flushes any pending changes to Cloud Spanner and then sends any pending messages to the client.

Inheritance

java.lang.Object > WireMessage > ControlMessage > FlushMessage

Static Fields

IDENTIFIER

protected static final char IDENTIFIER
Field Value
TypeDescription
char

Constructors

FlushMessage(ConnectionHandler connection)

public FlushMessage(ConnectionHandler connection)
Parameter
NameDescription
connectionConnectionHandler

FlushMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)

public FlushMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Parameters
NameDescription
connectionConnectionHandler
manuallyCreatedTokenControlMessage.ManuallyCreatedToken

Methods

getIdentifier()

protected 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