flush

Flushes any buffered writes.

Flushes any buffered writes to the database. Throws a StreamNotOpenException if the stream is not open.

Syntax

public void flush()