public class OperationConfigurationCache extends Object implements ConfigurationCache
| 构造器和说明 |
|---|
OperationConfigurationCache() |
OperationConfigurationCache(Supplier<com.google.common.collect.Table<Class<? extends OperatorFactory>,Class<?>,OperationConfiguration>> cacheFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
OperationConfiguration |
getCachedConfiguration(String namespace,
Class<? extends OperatorFactory> factoryType,
Class<?> targetType)
获取缓存的配置
|
boolean |
setConfigurationCache(String namespace,
Class<? extends OperatorFactory> factoryType,
Class<?> targetType,
OperationConfiguration configuration)
若缓存不存在,则将配置添加至缓存
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrCachedpublic OperationConfigurationCache(Supplier<com.google.common.collect.Table<Class<? extends OperatorFactory>,Class<?>,OperationConfiguration>> cacheFactory)
public OperationConfigurationCache()
public boolean setConfigurationCache(String namespace, Class<? extends OperatorFactory> factoryType, Class<?> targetType, OperationConfiguration configuration)
setConfigurationCache 在接口中 ConfigurationCachenamespace - 命名空间factoryType - 操作者工厂类型targetType - 解析对象类型configuration - 缓存配置public OperationConfiguration getCachedConfiguration(String namespace, Class<? extends OperatorFactory> factoryType, Class<?> targetType)
getCachedConfiguration 在接口中 ConfigurationCachenamespace - 命名空间factoryType - 操作者工厂类型targetType - 解析对象类型Copyright © 2022. All rights reserved.