public static class GoogleCloudStorageFileSystemOptions.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
cacheBasePath |
protected long |
cacheMaxEntryAgeMillis |
protected long |
cacheMaxInfoAgeMillis |
protected DirectoryListCache.Type |
cacheType |
protected boolean |
metadataCacheEnabled |
protected com.google.common.base.Predicate<String> |
shouldIncludeInTimestampUpdatesPredicate |
| Constructor and Description |
|---|
Builder() |
protected boolean metadataCacheEnabled
protected DirectoryListCache.Type cacheType
protected String cacheBasePath
protected com.google.common.base.Predicate<String> shouldIncludeInTimestampUpdatesPredicate
protected long cacheMaxEntryAgeMillis
protected long cacheMaxInfoAgeMillis
public GoogleCloudStorageOptions.Builder getCloudStorageOptionsBuilder()
public GoogleCloudStorageFileSystemOptions.Builder setCloudStorageOptionsBuilder(GoogleCloudStorageOptions.Builder cloudStorageOptionsBuilder)
public GoogleCloudStorageFileSystemOptions.Builder setIsMetadataCacheEnabled(boolean isMetadataCacheEnabled)
public GoogleCloudStorageFileSystemOptions.Builder setCacheType(DirectoryListCache.Type cacheType)
public GoogleCloudStorageFileSystemOptions.Builder setCacheBasePath(String cacheBasePath)
public GoogleCloudStorageFileSystemOptions.Builder setShouldIncludeInTimestampUpdatesPredicate(com.google.common.base.Predicate<String> shouldIncludeInTimestampUpdatesPredicate)
public GoogleCloudStorageFileSystemOptions.Builder setCacheMaxEntryAgeMillis(long cacheMaxEntryAgeMillis)
public GoogleCloudStorageFileSystemOptions.Builder setCacheMaxInfoAgeMillis(long cacheMaxInfoAgeMillis)
public GoogleCloudStorageFileSystemOptions.Builder setPathCodec(PathCodec pathCodec)
public GoogleCloudStorageFileSystemOptions build()
Copyright © 2016. All rights reserved.