Interface StoreFactory

    • Method Detail

      • setReadOnly

        void setReadOnly​(boolean readOnly)
        Sets whether or not changes to instances returned from this factory are supported. Once marked as read-only, any attempt to change state will throw an IllegalStateException.
        readOnly - if true, changes are not supported
      • isReadOnly

        boolean isReadOnly()
        Indicates if instances returned from storage are read-only.
        if true, instances only support reads.