@EnableConfigurationProperties(value=StorageProperties.class) public class StorageConfiguration extends Object
| Constructor and Description |
|---|
StorageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.aoju.bus.cache.metric.ExtendCache |
storageCache() |
StorageProviderService |
storageProviderFactory(StorageProperties properties,
org.aoju.bus.cache.metric.ExtendCache extendCache) |
@Bean public StorageProviderService storageProviderFactory(StorageProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache)
@Bean
@ConditionalOnMissingBean(value=org.aoju.bus.cache.metric.ExtendCache.class)
@ConditionalOnProperty(name="extend.storage.cache.type",
havingValue="default",
matchIfMissing=true)
public org.aoju.bus.cache.metric.ExtendCache storageCache()
Copyright © 2021. All rights reserved.