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 Summary
Constructors Constructor Description JcrBinaryStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup(long deleteOlderThanTime)Delete all packages that are older than specified unix timeInputStreamget(String reference)Stringput(String id, InputStream stream, long length)Stringstore(String id, InputStream binaryStream)
-
-
-
Method Detail
-
get
public InputStream get(String reference) throws IOException
- Specified by:
getin interfaceorg.apache.sling.distribution.journal.BinaryStore- Throws:
IOException
-
put
public String put(String id, InputStream stream, long length) throws IOException
- Specified by:
putin interfaceorg.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-
-
-