public class S3CacheFileInfoImpl extends Object implements ConfigurationCacheFileInfo
| Modifier and Type | Field and Description |
|---|---|
private String |
bucket |
private String |
expectedFilename |
private String |
prefix |
private com.amazonaws.services.s3.AmazonS3 |
s3 |
| Constructor and Description |
|---|
S3CacheFileInfoImpl(com.amazonaws.services.s3.AmazonS3 s3,
String bucket,
String prefix,
String expectedFilename)
Creates a new S3 cache file info.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<WriteableConfiguration> |
getCachedConfigurations() |
WriteableConfiguration |
getConfiguration(Integer version) |
Integer |
getVersionIfMatch(String objectKey) |
private final com.amazonaws.services.s3.AmazonS3 s3
private final String bucket
private final String prefix
private final String expectedFilename
public Integer getVersionIfMatch(String objectKey)
getVersionIfMatch in interface ConfigurationCacheFileInfopublic WriteableConfiguration getConfiguration(Integer version) throws ConfigurationProviderException
getConfiguration in interface ConfigurationCacheFileInfoConfigurationProviderExceptionpublic java.util.stream.Stream<WriteableConfiguration> getCachedConfigurations() throws IOException
getCachedConfigurations in interface ConfigurationCacheFileInfoIOExceptionCopyright © 2017 Apache NiFi Project. All rights reserved.