Interface MetastorageLifecycleListener

    • Method Detail

      • onReadyForRead

        default void onReadyForRead​(ReadOnlyMetastorage metastorage)
                             throws IgniteCheckedException
        Is called when metastorage is made ready for read-only operations very early on node startup phase. Reference for read-only metastorage should be used only within this method and shouldn't be stored to any field.
        Parameters:
        metastorage - Read-only meta storage.
        Throws:
        IgniteCheckedException
      • onReadyForReadWrite

        default void onReadyForReadWrite​(ReadWriteMetastorage metastorage)
                                  throws IgniteCheckedException
        Fully functional metastore capable of performing reading and writing operations. Components interested in using metastore are allowed to keep reference passed into the method in their fields.
        Parameters:
        metastorage - Fully functional meta storage.
        Throws:
        IgniteCheckedException