To force persistence of in-memory configuration state to the management database, use the following rhino-console command or related MBean operation.

Console command: flushconfiguration

Command

flushconfiguration
  Description
    Flush any outstanding configuration changes which have yet to be persisted to
    the management database. This operation blocks until the flush has completed.

Example

To force persistence of configuration to the management database

$ ./rhino-console flushconfiguration
Flushing configuration changes to database...
Flush complete.

MBean operations: flushConfiguration

MBean

Rhino Housekeeping

Flush configuration
public void flushConfiguration()
    throws ManagementException;

Request that all configuration state waiting for persistence be persisted to the management database as soon as possible. This method is unnecessary during normal operation as configuration changes are usually persisted to the database within seconds (assuming availability). This method is primarily intended for automated systems which require certainty that configuration changes have been persisted.

This method blocks until the flush operation has completed.

Previous page Next page
Rhino Version 3.0.0