Interface SchemaStorage


  • public interface SchemaStorage
    Schema storage.
    • Method Detail

      • put

        java.util.concurrent.CompletableFuture<SchemaVersion> put​(java.lang.String key,
                                                                  byte[] value,
                                                                  byte[] hash)
      • getAll

        java.util.concurrent.CompletableFuture<java.util.List<java.util.concurrent.CompletableFuture<StoredSchema>>> getAll​(java.lang.String key)
      • delete

        java.util.concurrent.CompletableFuture<SchemaVersion> delete​(java.lang.String key,
                                                                     boolean forcefully)
      • delete

        java.util.concurrent.CompletableFuture<SchemaVersion> delete​(java.lang.String key)
      • versionFromBytes

        SchemaVersion versionFromBytes​(byte[] version)
      • start

        void start()
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        void close()
            throws java.lang.Exception
        Throws:
        java.lang.Exception