public class GridFSMediaStorageCleaner extends java.lang.Object implements MediaStorageInitializer
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tenantPrefix |
| Constructor and Description |
|---|
GridFSMediaStorageCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStorageConnection()
checks if communication with external media storage is possible.
|
void |
onInitialize()
Prepares media storage on initialization.
|
void |
onUpdate()
Prepares media storage on update.
|
void |
setCleanOnInit(boolean cleanOnInit) |
void |
setDbFactory(MongoDbFactory dbFactory) |
void |
setStorageConfigService(MediaStorageConfigService storageConfigService) |
void |
setTenantPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailOnInitUpdateErrorpublic void setTenantPrefix()
public void onInitialize()
MediaStorageInitializeronInitialize in interface MediaStorageInitializerpublic void checkStorageConnection()
MediaStorageInitializercheckStorageConnection in interface MediaStorageInitializerpublic void setCleanOnInit(boolean cleanOnInit)
public void setDbFactory(MongoDbFactory dbFactory)
public void setStorageConfigService(MediaStorageConfigService storageConfigService)
public void onUpdate()
MediaStorageInitializeronUpdate in interface MediaStorageInitializerCopyright © 2018 SAP SE. All Rights Reserved.