Interface DatastoreClosingEvent

All Superinterfaces:
MMEvent

public interface DatastoreClosingEvent extends MMEvent
This class signifies that a Datastore's close() method has been called, and thus that all resources associated with that Datastore, and references to the Datastore, should be removed so that it can be garbage collected.

The default implementation of this event is posted on the Studio event bus, so subscribe using EventManager.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Datastore that is closing.
  • Method Details

    • getDatastore

      Datastore getDatastore()
      Returns the Datastore that is closing.
      Returns:
      Datastore that is closing