Package org.nuxeo.ecm.core.storage.gcp
Class GoogleStorageBinaryManager.GCPFileStorage
java.lang.Object
org.nuxeo.ecm.core.storage.gcp.GoogleStorageBinaryManager.GCPFileStorage
- All Implemented Interfaces:
FileStorage
- Enclosing class:
- GoogleStorageBinaryManager
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GCPFileStorage
public GCPFileStorage()
-
-
Method Details
-
storeFile
Description copied from interface:FileStorage
Stores a file based on a key.- Specified by:
storeFile
in interfaceFileStorage
- Parameters:
digest
- the file keyfile
- the file
-
fetchFile
Description copied from interface:FileStorage
Fetches a file based on its key.- Specified by:
fetchFile
in interfaceFileStorage
- Parameters:
key
- the file keyfile
- the file to use to store the fetched data- Returns:
true
if the file was fetched,false
if the file was not found
-
exists
Description copied from interface:FileStorage
Does a blob with the given key exist in the storage.The existence of the blob is checked in the storage where the blob is effectively stored. Intermediate cache is ignored.
- Specified by:
exists
in interfaceFileStorage
- Parameters:
digest
- the blob key- Returns:
- true if it exists in the storage
-