| Package | Description |
|---|---|
| com.google.cloud.hadoop.fs.gcs | |
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Method and Description |
|---|---|
static void |
GoogleHadoopFileSystemCacheCleaner.cleanCache(DirectoryListCache cache)
Iterates over items in
cache, object-first then buckets, allowing the list operations
to perform cache-expiration as they run. |
| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemBackedDirectoryListCache
FileSystemBackedDirectoryListCache mirrors all GCS directory and file creation into a matching
tree of directories + empty files inside a configured local filesystem, as accessed via
java.nio.Path and java.io.File, all under a base directory configured at construction-time.
|
class |
InMemoryDirectoryListCache
InMemoryDirectoryListCache provides in-memory accounting of full paths for directories and files
created and deleted in GoogleCloudStorageFileSystem within a single running process.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectoryListCache |
InMemoryDirectoryListCache.getInstance()
Accessor for shared singleton instance of DirectoryListCache.
|
| Constructor and Description |
|---|
CacheSupplementedGoogleCloudStorage(GoogleCloudStorage gcsDelegate,
DirectoryListCache resourceCache)
Constructs a CacheSupplementedGoogleCloudStorage which should be usable anywhere a
GoogleCloudStorage interface is used and which supplements missing listObject/listBucket
results from an in-memory cache of known GCS resources which may not have propagated into
the eventually-consistent remote "list" index yet.
|
Copyright © 2015. All rights reserved.