| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Class and Description |
|---|---|
class |
CachedBucket
A cache entry for the relevant metadata of a single GCS Bucket, used by
DirectoryListCache to supplement "list" operations with buckets known locally, as well as
serving as the container for retrieving CachedObjects from their respective cached buckets. |
| Modifier and Type | Method and Description |
|---|---|
CacheEntry |
CachedBucket.get(StorageResourceId resourceId)
Returns the CacheEntry entry corresponding to
resourceId that must be a StorageObject
residing inside this CachedBucket, or null if one doesn't exist. |
CacheEntry |
FileSystemBackedDirectoryListCache.getCacheEntry(StorageResourceId resourceId) |
abstract CacheEntry |
DirectoryListCache.getCacheEntry(StorageResourceId resourceId)
Returns the CacheEntry associated with
resourceId, or null if it doesn't exist. |
CacheEntry |
InMemoryDirectoryListCache.getCacheEntry(StorageResourceId resourceId) |
CacheEntry |
CachedBucket.put(StorageResourceId resourceId)
Adds a CacheEntry entry to this bucket corresponding to the StorageObject for
resourceId. |
CacheEntry |
FileSystemBackedDirectoryListCache.putResourceId(StorageResourceId resourceId) |
abstract CacheEntry |
DirectoryListCache.putResourceId(StorageResourceId resourceId)
Adds the names of the Bucket or StorageObject referenced by
resourceId to the cache,
with no attached metadata. |
CacheEntry |
InMemoryDirectoryListCache.putResourceId(StorageResourceId resourceId) |
| Modifier and Type | Method and Description |
|---|---|
List<CacheEntry> |
FileSystemBackedDirectoryListCache.getBucketList() |
abstract List<CacheEntry> |
DirectoryListCache.getBucketList() |
List<CacheEntry> |
InMemoryDirectoryListCache.getBucketList() |
List<CacheEntry> |
CachedBucket.getObjectList() |
List<CacheEntry> |
FileSystemBackedDirectoryListCache.getObjectList(String bucketName,
String objectNamePrefix,
String delimiter,
Set<String> returnedPrefixes) |
abstract List<CacheEntry> |
DirectoryListCache.getObjectList(String bucketName,
String objectNamePrefix,
String delimiter,
Set<String> returnedPrefixes) |
List<CacheEntry> |
InMemoryDirectoryListCache.getObjectList(String bucketName,
String objectNamePrefix,
String delimiter,
Set<String> returnedPrefixes) |
List<CacheEntry> |
FileSystemBackedDirectoryListCache.getRawBucketList() |
abstract List<CacheEntry> |
DirectoryListCache.getRawBucketList() |
List<CacheEntry> |
InMemoryDirectoryListCache.getRawBucketList() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DirectoryListCache.isCacheEntryExpired(CacheEntry entry)
Helper for determining whether a CacheEntry is entirely expired and should be removed
from the cache.
|
protected void |
DirectoryListCache.maybeInvalidateExpiredInfo(CacheEntry entry)
Helper for possibly clearing the GoogleCloudStorageItemInfo stored in
entry based
on cacheConfig settings. |
Copyright © 2016. All rights reserved.