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
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)
-
Constructor Details
-
JcrBinaryStore
public JcrBinaryStore()
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.apache.sling.distribution.journal.BinaryStore- Throws:
IOException
-
put
- 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-
-