Class JcrBinaryStore

java.lang.Object
org.apache.sling.distribution.journal.binary.jcr.JcrBinaryStore
All Implemented Interfaces:
org.apache.sling.distribution.journal.BinaryStore

public class JcrBinaryStore
extends Object
implements org.apache.sling.distribution.journal.BinaryStore
  • Constructor Details

  • Method Details

    • get

      public InputStream get​(String reference) throws IOException
      Specified by:
      get in interface org.apache.sling.distribution.journal.BinaryStore
      Throws:
      IOException
    • put

      public String put​(String id, InputStream stream, long length) throws IOException
      Specified by:
      put in interface org.apache.sling.distribution.journal.BinaryStore
      Throws:
      IOException
    • store

      @Nonnull public String store​(String id, InputStream binaryStream) throws org.apache.sling.distribution.common.DistributionException
      Throws:
      org.apache.sling.distribution.common.DistributionException
    • cleanup

      public void cleanup​(long deleteOlderThanTime)
      Delete all packages that are older than specified unix time
      Parameters:
      deleteOlderThanTime -