public class EvictionAttributesFactoryBean extends ObjectSE implements FactoryBean<org.apache.geode.cache.EvictionAttributes>, InitializingBean
FactoryBean, InitializingBean, EvictionAttributes, ObjectSizer| 修飾子と型 | フィールドと説明 |
|---|---|
protected static int | DEFAULT_LRU_MAXIMUM_ENTRIES |
protected static int | DEFAULT_MEMORY_MAXIMUM_SIZE |
OBJECT_TYPE_ATTRIBUTE| コンストラクターと説明 |
|---|
EvictionAttributesFactoryBean() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
org.apache.geode.cache.EvictionAction | getAction() 追い出しが発生したときにリージョンで実行されるアクションを取得します。 |
org.apache.geode.cache.EvictionAttributes | getObject() |
org.apache.geode.cache.util.ObjectSizer | getObjectSizer() キャッシュに保存されているデータのオブジェクトサイズを決定するために使用される Pivotal GemFire ObjectSizer を取得します。 |
ClassSE<?> | getObjectType() |
IntegerSE | getThreshold()ENTRY_COUNT および MEMORY_SIZE 削除ポリシーの LRU アルゴリズムで使用されるしきい値を取得します。 |
EvictionPolicyType | getType() リージョンで使用される削除ポリシーとアルゴリズムを取得します。 |
boolean | isSingleton() |
void | setAction(org.apache.geode.cache.EvictionAction action) 追い出しが発生したときにリージョンで実行するアクションを設定します。 |
void | setObjectSizer(org.apache.geode.cache.util.ObjectSizer objectSizer) キャッシュに保存されるデータのオブジェクトサイズを決定するために使用される Pivotal GemFire ObjectSizer を設定します。 |
void | setThreshold(IntegerSE threshold)ENTRY_COUNT および MEMORY_SIZE 削除ポリシーで LRU アルゴリズムによって使用されるしきい値を設定します。 |
void | setType(EvictionPolicyType type) 削除ポリシーとアルゴリズムの型を設定します (例: |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected static final int DEFAULT_LRU_MAXIMUM_ENTRIES
protected static final int DEFAULT_MEMORY_MAXIMUM_SIZE
public void afterPropertiesSet()
InitializingBean 内の afterPropertiesSet public org.apache.geode.cache.EvictionAttributes getObject()
FactoryBean<org.apache.geode.cache.EvictionAttributes> 内の getObject public ClassSE<?> getObjectType()
FactoryBean<org.apache.geode.cache.EvictionAttributes> 内の getObjectType public boolean isSingleton()
FactoryBean<org.apache.geode.cache.EvictionAttributes> 内の isSingleton public void setAction(org.apache.geode.cache.EvictionAction action)
action - リージョンで取得された指定された EvictionAction。EvictionActionpublic org.apache.geode.cache.EvictionAction getAction()
EvictionActionpublic void setObjectSizer(org.apache.geode.cache.util.ObjectSizer objectSizer)
objectSizer - キャッシュに保存されるオブジェクトデータのサイズを決定するために使用される ObjectSizer。ObjectSizerpublic org.apache.geode.cache.util.ObjectSizer getObjectSizer()
ObjectSizerpublic void setThreshold(IntegerSE threshold)
threshold - 削除ポリシーを強制するときに LRU アルゴリズムによって使用されるしきい値を指定する整数値。public IntegerSE getThreshold()
public void setType(EvictionPolicyType type)
type - リージョンに実装する削除ポリシー / アルゴリズムの型。EvictionPolicyTypepublic EvictionPolicyType getType()
EvictionPolicyTypeCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.