@Configuration public abstract class AbstractCacheConfiguration extends AbstractAnnotationConfigSupport implements ImportAware
AbstractCacheConfiguration は、Spring の Java ベースの Annotation Configuration サポートを使用して、Pivotal GemFire/Apache Geode クライアントまたはピアベースのキャッシュインスタンスを構成するための抽象基本クラスです。このクラスは、Pivotal GemFire/Apache Geode peer caches と client caches の両方に共通する構成設定をカプセル化します。AnnotationSE, PropertiesSE, Cache、GemFireCache、ClientCache、CacheServer, BeanFactory, BeanDefinition, BeanDefinitionBuilder, BeanDefinitionRegistry, Bean, Configuration, ImportAware, AnnotationAttributes, Resource, AnnotationMetadata, CacheFactoryBean, ClientCacheFactoryBean, AbstractAnnotationConfigSupport, CustomEditorBeanFactoryPostProcessor, DefinedIndexesApplicationListener, DiskStoreDirectoryBeanPostProcessorAbstractAnnotationConfigSupport.TypeResolver<T>| 修飾子と型 | フィールドと説明 |
|---|---|
protected static boolean | DEFAULT_CLOSE |
protected static boolean | DEFAULT_COPY_ON_READ |
protected static StringSE | DEFAULT_LOCATORS |
protected static StringSE | DEFAULT_LOG_LEVEL |
protected static int | DEFAULT_MCAST_PORT |
protected static StringSE | DEFAULT_NAME |
protected static boolean | DEFAULT_USE_BEAN_FACTORY_LOCATOR |
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX| コンストラクターと説明 |
|---|
AbstractCacheConfiguration() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | add(PropertiesSE gemfireProperties) |
protected void | configureCache(AnnotationMetadata importMetadata)Pivotal GemFire/Apache Geode キャッシュ固有の設定を構成します。 |
protected <T extends CacheFactoryBean> | configureCacheFactoryBean(T gemfireCache) 共通のキャッシュ構成設定を使用して CacheFactoryBean を構成します。 |
protected void | configureInfrastructure(AnnotationMetadata importMetadata)SDG で使用される Spring コンテナーインフラストラクチャコンポーネントと Bean を構成して、Pivotal GemFire または Apache Geode が Spring コンテキスト内で適切に機能できるようにします。 |
protected void | configureOptional(AnnotationMetadata importMetadata)======= >>>>>>> 09d8cc7... |
protected <T extends CacheFactoryBean> | constructCacheFactoryBean() 適切なアノテーションで表現される Spring アプリケーションのキャッシュ型設定 (クライアントまたはピア) に基づいて、 CacheFactoryBean の新しい初期化されたインスタンスを構築します。 |
protected PropertiesSE | gemfireProperties()Pivotal GemFire/Apache Geode キャッシュを構成するために使用される Pivotal GemFire/Apache Geode プロパティを含む PropertiesSE オブジェクトを返します。 |
protected Resource | getCacheXml() |
protected boolean | getCopyOnRead() |
protected FloatSE | getCriticalHeapPercentage() |
protected FloatSE | getCriticalOffHeapPercentage() |
protected CacheFactoryBean.DynamicRegionSupport | getDynamicRegionSupport() |
protected FloatSE | getEvictionHeapPercentage() |
protected FloatSE | getEvictionOffHeapPercentage() |
protected org.apache.geode.cache.util.GatewayConflictResolver | getGatewayConflictResolver() |
protected ListSE<CacheFactoryBean.JndiDataSource> | getJndiDataSources() |
protected ListSE<org.apache.geode.cache.TransactionListener> | getTransactionListeners() |
protected org.apache.geode.cache.TransactionWriter | getTransactionWriter() |
protected boolean | isCacheServerApplication(AnnotationMetadata importMetadata) これが Pivotal GemFire CacheServer アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに CacheServerApplication アノテーションが存在することによって示されます。 |
protected boolean | isCacheServerOrPeerCacheApplication(AnnotationMetadata importMetadata) これが Pivotal GemFire CacheServer または peer cache アプリケーションであるかどうかを判別します。これは、Spring アプリケーション @Configuration クラスに CacheServerApplication アノテーションまたは PeerCacheApplication アノテーションのいずれかが存在することによって示されます。 |
protected boolean | isClientCacheApplication(AnnotationMetadata importMetadata) これが Pivotal GemFire ClientCache アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに ClientCacheApplication アノテーションが存在することによって示されます。 |
protected boolean | isClientPeerOrServerCacheApplication(AnnotationMetadata importMetadata) この Spring アプリケーションが CacheServer、ClientCache、Cache アプリケーションであるかどうかを判別します。 |
protected boolean | isClose() |
protected boolean | isPeerCacheApplication(AnnotationMetadata importMetadata) これが Pivotal GemFire ピア Cache アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに PeerCacheApplication アノテーションが存在することによって示されます。 |
protected boolean | isTypedCacheApplication(ClassSE<? extends AnnotationSE> annotationType, AnnotationMetadata importMetadata) この Spring アプリケーションに、指定された Pivotal GemFire キャッシュ型アノテーションが付けられているかどうかを判断します。 |
protected StringSE | locators() |
protected StringSE | logLevel() |
protected IntegerSE | mcastPort() |
protected StringSE | name() |
protected abstract <T extends CacheFactoryBean> | newCacheFactoryBean() 適切なアノテーションで表現される Spring アプリケーションのキャッシュ型設定 (クライアントまたはピア) に基づいて、 CacheFactoryBean の新しい初期化されていないインスタンスを構築します。 |
void | setImportMetadata(AnnotationMetadata importMetadata) |
protected StringSE | startLocator() |
StringSE | toString() |
protected boolean | useBeanFactoryLocator() |
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationType, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsPropertycloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEprotected static final boolean DEFAULT_CLOSE
protected static final boolean DEFAULT_COPY_ON_READ
protected static final boolean DEFAULT_USE_BEAN_FACTORY_LOCATOR
protected static final int DEFAULT_MCAST_PORT
@Bean protected PropertiesSE gemfireProperties()
PropertiesSE オブジェクトを返します。クラスター内の Pivotal GemFire/Apache Geode メンバー / ノードの名前は、適用される構成メタデータの種類に応じて、デフォルトの定義済みでわかりやすい値に設定されます。mcast-port は 0 に設定され、locators は empty StringSE に設定されます。これは、cache client ベースのアプリケーションに必要です。これらの値は、peer cache および cache server アプリケーションに応じて変更および設定できます。最後に、log-level プロパティはデフォルトで config に設定されます。PropertiesSE オブジェクト。PropertiesSE, locators(), logLevel(), mcastPort(), name()public void setImportMetadata(AnnotationMetadata importMetadata)
ImportAware 内の setImportMetadata protected void configureInfrastructure(AnnotationMetadata importMetadata)
importMetadata - SDG キャッシュアプリケーションクラスのアノテーションメタデータを含む AnnotationMetadata。AnnotationMetadataprotected void configureCache(AnnotationMetadata importMetadata)
importMetadata - キャッシュを構成するために使用されるキャッシュメタデータを含む AnnotationMetadata。AnnotationMetadataprotected void configureOptional(AnnotationMetadata importMetadata)
importMetadata - キャッシュまたはアプリケーションを構成するために使用されるメタデータを含む AnnotationMetadata。AnnotationMetadataprotected <T extends CacheFactoryBean> T constructCacheFactoryBean()
CacheFactoryBean の新しい初期化されたインスタンスを構築します。ClientCacheApplication アノテーションを使用して、cache client アプリケーションを構築します。PeerCacheApplication アノテーションを使用して、peer cache アプリケーションを構築します。T - CacheFactoryBean の ClassSE 固有のサブ型。CacheFactoryBean の新しいインスタンス (例: ClientCacheApplication または PeerCacheApplication)。ClientCacheFactoryBean, CacheFactoryBean, configureCacheFactoryBean(CacheFactoryBean), newCacheFactoryBean()protected abstract <T extends CacheFactoryBean> T newCacheFactoryBean()
CacheFactoryBean の新しい初期化されていないインスタンスを構築します。ClientCacheApplication アノテーションを使用して、cache client アプリケーションを構築します。PeerCacheApplication アノテーションを使用して、peer cache アプリケーションを構築します。T - CacheFactoryBean の ClassSE 固有のサブ型。CacheFactoryBean の新しいインスタンス (例: ClientCacheApplication または PeerCacheApplication)。ClientCacheFactoryBean, CacheFactoryBeanprotected <T extends CacheFactoryBean> T configureCacheFactoryBean(T gemfireCache)
CacheFactoryBean を構成します。T - CacheFactoryBean の ClassSE 固有のサブ型。gemfireCache - 設定する CacheFactoryBean。CacheFactoryBean。ClientCacheFactoryBean, CacheFactoryBeanprotected boolean isCacheServerApplication(AnnotationMetadata importMetadata)
CacheServer アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに CacheServerApplication アノテーションが存在することによって示されます。importMetadata - Spring アプリケーションを構成するために使用されるアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。CacheServerApplication, isTypedCacheApplication(Class, AnnotationMetadata)protected boolean isClientCacheApplication(AnnotationMetadata importMetadata)
ClientCache アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに ClientCacheApplication アノテーションが存在することによって示されます。importMetadata - Spring アプリケーションを構成するために使用されるアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。ClientCacheApplication, isTypedCacheApplication(Class, AnnotationMetadata)protected boolean isPeerCacheApplication(AnnotationMetadata importMetadata)
Cache アプリケーションであるかどうかを判断します。これは、Spring アプリケーション @Configuration クラスに PeerCacheApplication アノテーションが存在することによって示されます。importMetadata - Spring アプリケーションを構成するために使用されるアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。PeerCacheApplication, isTypedCacheApplication(Class, AnnotationMetadata)protected boolean isTypedCacheApplication(ClassSE<? extends AnnotationSE> annotationType, AnnotationMetadata importMetadata)
annotationType - AnnotationSE キャッシュ型。importMetadata - Spring アプリケーションを構成するために使用されるアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。AnnotationMetadata, AnnotationSE, AbstractAnnotationConfigSupport.getAnnotationTypeName(), AbstractAnnotationConfigSupport.getAnnotationType()protected boolean isCacheServerOrPeerCacheApplication(AnnotationMetadata importMetadata)
CacheServer または peer cache アプリケーションであるかどうかを判別します。これは、Spring アプリケーション @Configuration クラスに CacheServerApplication アノテーションまたは PeerCacheApplication アノテーションのいずれかが存在することによって示されます。importMetadata - Spring アプリケーションを構成するために使用されるアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。AnnotationMetadata, CacheServerApplication, PeerCacheApplication, isCacheServerApplication(AnnotationMetadata), isPeerCacheApplication(AnnotationMetadata)protected boolean isClientPeerOrServerCacheApplication(AnnotationMetadata importMetadata)
CacheServer、ClientCache、Cache アプリケーションであるかどうかを判別します。importMetadata - Spring アプリケーションを構成するために使用されるクラス型レベルのアノテーションからのアプリケーション構成メタデータを含む AnnotationMetadata。isCacheServerApplication(AnnotationMetadata), isClientCacheApplication(AnnotationMetadata), isPeerCacheApplication(AnnotationMetadata)protected Resource getCacheXml()
protected boolean isClose()
protected boolean getCopyOnRead()
protected FloatSE getCriticalHeapPercentage()
protected FloatSE getCriticalOffHeapPercentage()
protected CacheFactoryBean.DynamicRegionSupport getDynamicRegionSupport()
protected FloatSE getEvictionHeapPercentage()
protected FloatSE getEvictionOffHeapPercentage()
protected org.apache.geode.cache.util.GatewayConflictResolver getGatewayConflictResolver()
protected ListSE<CacheFactoryBean.JndiDataSource> getJndiDataSources()
protected StringSE locators()
protected StringSE logLevel()
protected IntegerSE mcastPort()
protected StringSE name()
protected StringSE startLocator()
protected ListSE<org.apache.geode.cache.TransactionListener> getTransactionListeners()
protected org.apache.geode.cache.TransactionWriter getTransactionWriter()
protected boolean useBeanFactoryLocator()
public void add(PropertiesSE gemfireProperties)
public StringSE toString()
ObjectSE の toStringSE Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.