Interface ConfigurationPersister.PersistenceResource

All Known Implementing Classes:
AbstractFilePersistenceResource, ConfigurationFilePersistenceResource, FilePersistenceResource
Enclosing interface:
ConfigurationPersister

public static interface ConfigurationPersister.PersistenceResource
Callback for use by callers to ConfigurationPersister.store(org.jboss.dmr.ModelNode, java.util.Set) to control whether the stored model should be flushed to permanent storage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flush the stored model to permanent storage.
    void
    Discard the changes.
  • Method Details

    • commit

      void commit()
      Flush the stored model to permanent storage.
    • rollback

      void rollback()
      Discard the changes.