This class performs various flush operations.
RefreshOption.GRANTRefresh the grant tables, like
FLUSH PRIVILEGES.RefreshOption.LOGFlush the logs, like
FLUSH LOGS.RefreshOption.TABLESFlush the table cache, like
FLUSH TABLES.RefreshOption.HOSTSFlush the host cache, like
FLUSH HOSTS.RefreshOption.STATUSReset status variables, like
FLUSH STATUS.RefreshOption.THREADSFlush the thread cache.
RefreshOption.REPLICAOn a replica replication server, reset the source server information and restart the replica, like
RESET SLAVE. This constant was named "RefreshOption.SLAVE" before v8.0.23.