public class JcrBinaryStore extends Object implements org.apache.sling.distribution.journal.BinaryStore
Constructor and Description |
---|
JcrBinaryStore() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(long deleteOlderThanTime)
Delete all packages that are older than specified unix time
|
InputStream |
get(String reference) |
String |
put(String id,
InputStream stream,
long length) |
String |
store(String id,
InputStream binaryStream) |
public InputStream get(String reference) throws IOException
get
in interface org.apache.sling.distribution.journal.BinaryStore
IOException
public String put(String id, InputStream stream, long length) throws IOException
put
in interface org.apache.sling.distribution.journal.BinaryStore
IOException
@Nonnull public String store(String id, InputStream binaryStream) throws org.apache.sling.distribution.common.DistributionException
org.apache.sling.distribution.common.DistributionException
public void cleanup(long deleteOlderThanTime)
deleteOlderThanTime
- Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.