Package org.opencms.db.storage.policy
Class CmsNoExternalStoragePolicy
java.lang.Object
org.opencms.db.storage.policy.CmsNoExternalStoragePolicy
- All Implemented Interfaces:
I_CmsStoragePolicy
Compatibility policy for the OpenCms deduplicating media storage engine (DMSE)
which keeps newly written content in the regular VFS content columns.
This policy can be used with the storage-aware VFS driver when the storage
schema should be installed, but binary content should remain in
CMS_CONTENTS and CMS_OFFLINE_CONTENTS for compatibility or
migration purposes. It does not move previously stored blobs back to those
columns; they remain readable through their configured backends.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the given content should be stored in the external storage.
-
Constructor Details
-
CmsNoExternalStoragePolicy
public CmsNoExternalStoragePolicy()
-
-
Method Details
-
isExternalStorageRequired
Description copied from interface:I_CmsStoragePolicyDetermines if the given content should be stored in the external storage.- Specified by:
isExternalStorageRequiredin interfaceI_CmsStoragePolicy- Parameters:
context- the storage policy context- Returns:
trueif the file should be offloaded to the external storage,falseotherwise- See Also:
-