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.
Static Fields
IDENTIFIER
protected static final char IDENTIFIER
Type | Description |
char |
Constructors
FlushMessage(ConnectionHandler connection)
public FlushMessage(ConnectionHandler connection)
Name | Description |
connection | ConnectionHandler |
FlushMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public FlushMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Name | Description |
connection | ConnectionHandler |
manuallyCreatedToken | ControlMessage.ManuallyCreatedToken |
Methods
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |